package com.mvd.app.ac2021.activitys;

import android.Manifest;
import android.content.Intent;
import android.graphics.Color;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.support.design.widget.FloatingActionButton;
import android.text.Editable;
import android.text.TextUtils;
import android.util.Log;
import android.view.Gravity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;

import com.google.gson.Gson;
import com.jph.takephoto.app.TakePhoto;
import com.jph.takephoto.app.TakePhotoImpl;
import com.jph.takephoto.model.InvokeParam;
import com.jph.takephoto.model.TContextWrap;
import com.jph.takephoto.model.TImage;
import com.jph.takephoto.model.TResult;
import com.jph.takephoto.model.TakePhotoOptions;
import com.jph.takephoto.permission.InvokeListener;
import com.jph.takephoto.permission.PermissionManager;
import com.jph.takephoto.permission.TakePhotoInvocationHandler;
import com.kongzue.dialog.interfaces.OnMenuItemClickListener;
import com.kongzue.dialog.util.DialogSettings;
import com.kongzue.dialog.util.TextInfo;
import com.kongzue.dialog.v3.BottomMenu;
import com.kongzue.dialog.v3.MessageDialog;
import com.lzy.okgo.OkGo;
import com.lzy.okgo.callback.StringCallback;
import com.lzy.okgo.model.Response;
import com.lzy.okgo.request.base.Request;
import com.mvd.app.R;
import com.mvd.app.ac2020.VideoListActivity;
import com.mvd.app.activity.BaseActivity;
import com.mvd.app.application.BaseApplication;
import com.mvd.app.commons.CommonUtils;
import com.mvd.app.commons.Constants;
import com.mvd.app.commons.DateUtil;
import com.mvd.app.commons.JsonUtil;
import com.mvd.app.commons.PDALogUtils;
import com.mvd.app.commons.SharedPreferencesUtils;
import com.mvd.app.commons.SystemUtil;
import com.mvd.app.commons.UtilsLog;
import com.mvd.app.model.CarsInforModel;
import com.mvd.app.model.OutPhotoItem;
import com.mvd.app.model.TypeModel;
import com.mvd.app.model.WaiJainDataModel;
import com.mvd.app.model.WaiJianItemModel;

import java.io.File;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import butterknife.OnTextChanged;
import top.zibin.luban.Luban;
import top.zibin.luban.OnCompressListener;

import static com.mvd.app.application.BaseApplication.WAIJIAN_PHOTO_PREVIEW_LISTS;


/**
 * 外检项目----外检修改车辆信息  更新车辆信息
 */

public class WaiJianItemActivity extends BaseActivity implements TakePhoto.TakeResultListener, InvokeListener {
    //, EasyPermissions.PermissionCallbacks
    //region
    @BindView(R.id.ac_waijian_item_number)
    TextView acWaijianItemNumber;
    @BindView(R.id.ac_waijian_item_SN)
    TextView acWaijianItemSN;
    @BindView(R.id.ac_waijian_item_times)
    TextView acWaijianItemTimes;
    @BindView(R.id.ac_waijian_item_line)
    TextView acWaijianItemLine;
    @BindView(R.id.ac_waijian_item_shifou_quanshi)
    TextView acWaijianItemShifouQuanshi;
    @BindView(R.id.ac_waijian_item_dianzi_kongzhi)
    TextView acWaijianItemDianziKongzhi;
    @BindView(R.id.ac_waijian_item_kongqi_xuanjia)
    TextView acWaijianItemKongqiXuanjia;
    @BindView(R.id.ac_waijian_item_kongqi_xuanjia_zhou)
    EditText acWaijianItemKongqiXuanjiaZhou;
    @BindView(R.id.ac_waijian_item_zhuanxiang_zhou_shuliang)
    EditText acWaijianItemZhuanxiangZhouShuliang;
    @BindView(R.id.ac_waijian_item_waikuo_chang)
    EditText acWaijianItemWaikuoChang;
    @BindView(R.id.ac_waijian_item_waikuo_kuan)
    EditText acWaijianItemWaikuoKuan;
    @BindView(R.id.ac_waijian_item_waikuo_gao)
    EditText acWaijianItemWaikuoGao;
    @BindView(R.id.ac_waijian_item_zhouju)
    EditText acWaijianItemZhouju;
    @BindView(R.id.ac_waijian_item_chexiang_lanban_gaodu)
    EditText acWaijianItemChexiangLanbanGaodu;
    //    @BindView(R.id.ac_waijian_item_danche_zhuanxianglun_luntai_huawen_shendu)
//    EditText acWaijianItemDancheZhuanxianglunLuntaiHuawenShendu;
//    @BindView(R.id.ac_waijian_item_danche_qita_luntai_huawen_shendu)
//    EditText acWaijianItemDancheQitaLuntaiHuawenShendu;
//    @BindView(R.id.ac_waijian_item_guache_luntai_huawen_shendu)
//    EditText acWaijianItemGuacheLuntaiHuawenShendu;
//    @BindView(R.id.ac_waijian_item_diyizhou_zuogaodu)
//    EditText acWaijianItemDiyizhouZuogaodu;
    @BindView(R.id.ac_waijian_item_diyizhou_yougaodu)
    EditText acWaijianItemDiyizhouYougaodu;
    @BindView(R.id.ac_waijian_item_diyizhou_zuoyou_gaoducha)
    EditText acWaijianItemDiyizhouZuoyouGaoducha;
    @BindView(R.id.ac_waijian_item_zuihouzhou_zuo_gaodu)
    EditText acWaijianItemZuihouzhouZuoGaodu;
    @BindView(R.id.ac_waijian_item_zuihouzhou_you_gaodu)
    EditText acWaijianItemZuihouzhouYouGaodu;
    @BindView(R.id.ac_waijian_item_zuihouzhou_zuoyou_gaoducha)
    EditText acWaijianItemZuihouzhouZuoyouGaoducha;
    @BindView(R.id.ac_waijian_item_desc)
    EditText acWaijianItemDesc;
    @BindView(R.id.ac_waijian_item_details_video)
    Button acWaijianItemDetailsVideo;
    @BindView(R.id.ac_waijian_item_btn_other)
    Button acWaijianItemBtnOther;
    @BindView(R.id.ac_waijian_item_btn_start)
    Button acWaijianItemBtnStart;
    @BindView(R.id.ac_waijian_item_gua_chexiang_lanban_gaodu)
    EditText acWaijianItemGuaChexiangLanbanGaodu;
    @BindView(R.id.ac_waijian_item_gua_zuo_gaoducha)
    EditText acWaijianItemGuaZuoGaoducha;
    @BindView(R.id.ac_waijian_item_you_gaoducha)
    EditText acWaijianItemYouGaoducha;
    @BindView(R.id.ac_waijian_item_gua_gaoducha_gaoducha)
    EditText acWaijianItemGuaGaoduchaGaoducha;
    @BindView(R.id.luntai_huawen_a1)
    EditText luntaiHuawenA1;
    @BindView(R.id.luntai_huawen_a2)
    EditText luntaiHuawenA2;
    @BindView(R.id.luntai_huawen_a3)
    EditText luntaiHuawenA3;
    @BindView(R.id.luntai_huawen_a4)
    EditText luntaiHuawenA4;
    @BindView(R.id.luntai_huawen_ll_a)
    LinearLayout luntaiHuawenLlA;
    @BindView(R.id.luntai_huawen_b1)
    EditText luntaiHuawenB1;
    @BindView(R.id.luntai_huawen_b2)
    EditText luntaiHuawenB2;
    @BindView(R.id.luntai_huawen_b3)
    EditText luntaiHuawenB3;
    @BindView(R.id.luntai_huawen_b4)
    EditText luntaiHuawenB4;
    @BindView(R.id.luntai_huawen_ll_b)
    LinearLayout luntaiHuawenLlB;
    @BindView(R.id.luntai_huawen_c1)
    EditText luntaiHuawenC1;
    @BindView(R.id.luntai_huawen_c2)
    EditText luntaiHuawenC2;
    @BindView(R.id.luntai_huawen_c3)
    EditText luntaiHuawenC3;
    @BindView(R.id.luntai_huawen_c4)
    EditText luntaiHuawenC4;
    @BindView(R.id.luntai_huawen_ll_c)
    LinearLayout luntaiHuawenLlC;
    @BindView(R.id.luntai_huawen_d1)
    EditText luntaiHuawenD1;
    @BindView(R.id.luntai_huawen_d2)
    EditText luntaiHuawenD2;
    @BindView(R.id.luntai_huawen_d3)
    EditText luntaiHuawenD3;
    @BindView(R.id.luntai_huawen_d4)
    EditText luntaiHuawenD4;
    @BindView(R.id.luntai_huawen_ll_d)
    LinearLayout luntaiHuawenLlD;
    @BindView(R.id.luntai_huawen_e1)
    EditText luntaiHuawenE1;
    @BindView(R.id.luntai_huawen_e2)
    EditText luntaiHuawenE2;
    @BindView(R.id.luntai_huawen_e3)
    EditText luntaiHuawenE3;
    @BindView(R.id.luntai_huawen_e4)
    EditText luntaiHuawenE4;
    @BindView(R.id.luntai_huawen_ll_e)
    LinearLayout luntaiHuawenLlE;
    @BindView(R.id.luntai_huawen_f1)
    EditText luntaiHuawenF1;
    @BindView(R.id.luntai_huawen_f2)
    EditText luntaiHuawenF2;
    @BindView(R.id.luntai_huawen_f3)
    EditText luntaiHuawenF3;
    @BindView(R.id.luntai_huawen_f4)
    EditText luntaiHuawenF4;
    @BindView(R.id.luntai_huawen_ll_f)
    LinearLayout luntaiHuawenLlF;
    @BindView(R.id.other_luntai_huawen_a1)
    EditText otherLuntaiHuawenA1;
    @BindView(R.id.other_luntai_huawen_a2)
    EditText otherLuntaiHuawenA2;
    @BindView(R.id.other_luntai_huawen_a3)
    EditText otherLuntaiHuawenA3;
    @BindView(R.id.other_luntai_huawen_a4)
    EditText otherLuntaiHuawenA4;
    @BindView(R.id.other_luntai_huawen_ll_a)
    LinearLayout otherLuntaiHuawenLlA;
    @BindView(R.id.other_luntai_huawen_b1)
    EditText otherLuntaiHuawenB1;
    @BindView(R.id.other_luntai_huawen_b2)
    EditText otherLuntaiHuawenB2;
    @BindView(R.id.other_luntai_huawen_b3)
    EditText otherLuntaiHuawenB3;
    @BindView(R.id.other_luntai_huawen_b4)
    EditText otherLuntaiHuawenB4;
    @BindView(R.id.other_luntai_huawen_ll_b)
    LinearLayout otherLuntaiHuawenLlB;
    @BindView(R.id.other_luntai_huawen_c1)
    EditText otherLuntaiHuawenC1;
    @BindView(R.id.other_luntai_huawen_c2)
    EditText otherLuntaiHuawenC2;
    @BindView(R.id.other_luntai_huawen_c3)
    EditText otherLuntaiHuawenC3;
    @BindView(R.id.other_luntai_huawen_c4)
    EditText otherLuntaiHuawenC4;
    @BindView(R.id.other_luntai_huawen_ll_c)
    LinearLayout otherLuntaiHuawenLlC;
    @BindView(R.id.other_luntai_huawen_d1)
    EditText otherLuntaiHuawenD1;
    @BindView(R.id.other_luntai_huawen_d2)
    EditText otherLuntaiHuawenD2;
    @BindView(R.id.other_luntai_huawen_d3)
    EditText otherLuntaiHuawenD3;
    @BindView(R.id.other_luntai_huawen_d4)
    EditText otherLuntaiHuawenD4;
    @BindView(R.id.other_luntai_huawen_ll_d)
    LinearLayout otherLuntaiHuawenLlD;
    @BindView(R.id.other_luntai_huawen_e1)
    EditText otherLuntaiHuawenE1;
    @BindView(R.id.other_luntai_huawen_e2)
    EditText otherLuntaiHuawenE2;
    @BindView(R.id.other_luntai_huawen_e3)
    EditText otherLuntaiHuawenE3;
    @BindView(R.id.other_luntai_huawen_e4)
    EditText otherLuntaiHuawenE4;
    @BindView(R.id.other_luntai_huawen_ll_e)
    LinearLayout otherLuntaiHuawenLlE;
    @BindView(R.id.other_luntai_huawen_f1)
    EditText otherLuntaiHuawenF1;
    @BindView(R.id.other_luntai_huawen_f2)
    EditText otherLuntaiHuawenF2;
    @BindView(R.id.other_luntai_huawen_f3)
    EditText otherLuntaiHuawenF3;
    @BindView(R.id.other_luntai_huawen_f4)
    EditText otherLuntaiHuawenF4;
    @BindView(R.id.other_luntai_huawen_ll_f)
    LinearLayout otherLuntaiHuawenLlF;
    @BindView(R.id.gua_luntai_huawen_a1)
    EditText guaLuntaiHuawenA1;
    @BindView(R.id.gua_luntai_huawen_a2)
    EditText guaLuntaiHuawenA2;
    @BindView(R.id.gua_luntai_huawen_a3)
    EditText guaLuntaiHuawenA3;
    @BindView(R.id.gua_luntai_huawen_a4)
    EditText guaLuntaiHuawenA4;
    @BindView(R.id.gua_luntai_huawen_ll_a)
    LinearLayout guaLuntaiHuawenLlA;
    @BindView(R.id.gua_luntai_huawen_b1)
    EditText guaLuntaiHuawenB1;
    @BindView(R.id.gua_luntai_huawen_b2)
    EditText guaLuntaiHuawenB2;
    @BindView(R.id.gua_luntai_huawen_b3)
    EditText guaLuntaiHuawenB3;
    @BindView(R.id.gua_luntai_huawen_b4)
    EditText guaLuntaiHuawenB4;
    @BindView(R.id.gua_luntai_huawen_ll_b)
    LinearLayout guaLuntaiHuawenLlB;
    @BindView(R.id.gua_luntai_huawen_c1)
    EditText guaLuntaiHuawenC1;
    @BindView(R.id.gua_luntai_huawen_c2)
    EditText guaLuntaiHuawenC2;
    @BindView(R.id.gua_luntai_huawen_c3)
    EditText guaLuntaiHuawenC3;
    @BindView(R.id.gua_luntai_huawen_c4)
    EditText guaLuntaiHuawenC4;
    @BindView(R.id.gua_luntai_huawen_ll_c)
    LinearLayout guaLuntaiHuawenLlC;
    @BindView(R.id.gua_luntai_huawen_d1)
    EditText guaLuntaiHuawenD1;
    @BindView(R.id.gua_luntai_huawen_d2)
    EditText guaLuntaiHuawenD2;
    @BindView(R.id.gua_luntai_huawen_d3)
    EditText guaLuntaiHuawenD3;
    @BindView(R.id.gua_luntai_huawen_d4)
    EditText guaLuntaiHuawenD4;
    @BindView(R.id.gua_luntai_huawen_ll_d)
    LinearLayout guaLuntaiHuawenLlD;
    @BindView(R.id.gua_luntai_huawen_e1)
    EditText guaLuntaiHuawenE1;
    @BindView(R.id.gua_luntai_huawen_e2)
    EditText guaLuntaiHuawenE2;
    @BindView(R.id.gua_luntai_huawen_e3)
    EditText guaLuntaiHuawenE3;
    @BindView(R.id.gua_luntai_huawen_e4)
    EditText guaLuntaiHuawenE4;
    @BindView(R.id.gua_luntai_huawen_ll_e)
    LinearLayout guaLuntaiHuawenLlE;
    @BindView(R.id.gua_luntai_huawen_f1)
    EditText guaLuntaiHuawenF1;
    @BindView(R.id.gua_luntai_huawen_f2)
    EditText guaLuntaiHuawenF2;
    @BindView(R.id.gua_luntai_huawen_f3)
    EditText guaLuntaiHuawenF3;
    @BindView(R.id.gua_luntai_huawen_f4)
    EditText guaLuntaiHuawenF4;
    @BindView(R.id.gua_luntai_huawen_ll_f)
    LinearLayout guaLuntaiHuawenLlF;
    @BindView(R.id.ac_waijian_item_diyizhou_zuogaodu)
    EditText acWaijianItemDiyizhouZuogaodu;
    @BindView(R.id.gua_luntai_huawen_ll_00)
    LinearLayout guaLuntaiHuawenLl00;
    @BindView(R.id.ac_waijian_hege_lanban)
    TextView acWaijianHegeLanban;
    @BindView(R.id.ac_waijian_hege_luntai)
    TextView acWaijianHegeLuntai;
    @BindView(R.id.ac_waijian_hege_cheshen)
    TextView acWaijianHegeCheshen;
    @BindView(R.id.ac_waijian_item_beizhu)
    EditText acWaijianItemBeizhu;
    @BindView(R.id.ac_waijian_item_finish)
    ImageButton acWaijianItemFinish;
    @BindView(R.id.ac_waijian_item_fab)
    FloatingActionButton acWaijianItemFab;
    //endregion
    private String Line = "1";//外检车道
    private String Item_Code = "F1_Memo";//F1外检,R1路试，DC底盘动态
    private String Login_name = "", login_IDNumber;//当前登录的检测员的名字
    private CarsInforModel carsInforModel;
    public WaiJianItemActivity instances = null;
    private WaiJainDataModel waiJainDataModel = new WaiJainDataModel();//外检上传数据model


    static final String STATE_PHOTO_TYPE = "PHOTO_TYPE";
    static final String STATE_PHOTO_TYPE_huan = "PHOTO_TYPE_huan";
    static final String STATE_typeModel = "typeModel";
    static final String STATE_TypeModel_Position = "TypeModel_Position";
    static final String STATE_my_item_start_time = "my_item_start_time";
    static final String STATE_typeModelListAdapter = "typeModelListAdapter";
    private String my_item_start_time = "", my_item_end_time = "";
    TakePhoto takePhoto;
    private String PHOTO_TYPE = null;//外检拍照的TYPE上传类型
    private String waijian_chedao = null;//外检车道，检测线代号
    TypeModel typeModel;
    int TypeModel_Position = 0;
    private String isYasuoPhoto;
    private String times;
    List<EditText> etTurnAs = new ArrayList<>();
    List<EditText> etTurnBs = new ArrayList<>();
    List<EditText> etTurnCs = new ArrayList<>();
    List<EditText> etTurnDs = new ArrayList<>();
    List<EditText> etTurnEs = new ArrayList<>();
    List<EditText> etTurnFs = new ArrayList<>();

    static final String[] PERMISSIONS = new String[]{
            Manifest.permission.RECORD_AUDIO,
            Manifest.permission.CAMERA,
            Manifest.permission.READ_EXTERNAL_STORAGE,
            Manifest.permission.WRITE_EXTERNAL_STORAGE,
            Manifest.permission.READ_PHONE_STATE
    };

    @Override
    public void onSaveInstanceState(Bundle savedInstanceState) {
        // 保存用户自定义的状态
        savedInstanceState.putString(STATE_PHOTO_TYPE, PHOTO_TYPE);
        savedInstanceState.putSerializable(STATE_typeModel, typeModel);
        savedInstanceState.putInt(STATE_TypeModel_Position, TypeModel_Position);
        savedInstanceState.putString(STATE_my_item_start_time, my_item_start_time);
        // 调用父类交给系统处理，这样系统能保存视图层次结构状态
        getTakePhoto().onSaveInstanceState(savedInstanceState);
        super.onSaveInstanceState(savedInstanceState);
    }

    public void onRestoreInstanceState(Bundle savedInstanceState) {
        // 总是调用超类，以便它可以恢复视图层次超级
        super.onRestoreInstanceState(savedInstanceState);
        // 从已保存的实例中恢复状态成员
        PHOTO_TYPE = savedInstanceState.getString(STATE_PHOTO_TYPE);
        typeModel = (TypeModel) savedInstanceState.getSerializable(STATE_typeModel);
        TypeModel_Position = savedInstanceState.getInt(STATE_TypeModel_Position);
        my_item_start_time = savedInstanceState.getString(STATE_my_item_start_time);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        getTakePhoto().onCreate(savedInstanceState);
        super.onCreate(savedInstanceState);
        setContentView(R.layout.ac_waijian_item);
        ButterKnife.bind(this);
//        setBackBtn();
//        setTopTitle("车辆特征参数(外检项目)");
//        车辆特征参数检验
        String logStrf = "\n" + "onCreate-----车辆特征参数 外检项目-----" + "\n";
        PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStrf.getBytes());
        instances = this;
        isYasuoPhoto = SharedPreferencesUtils.getIsYasuoPhoto(instances);
//        if (EasyPermissions.hasPermissions(this, PERMISSIONS)) {//检查是否获取该权限
//            UtilsLog.e("车辆特征参数=已获取权限");
//        } else {
//            UtilsLog.e("车辆特征参数=meiyou===权限");
//            EasyPermissions.requestPermissions(this, "必要的权限", 0, PERMISSIONS);
//        }
        carsInforModel = (CarsInforModel) getIntent().getSerializableExtra("CarDetailsActivity_CarsInforModel");
        times = carsInforModel.getTimes();
        login_IDNumber = getIntent().getExtras().getString("login_IDNumber", "");
        Login_name = getIntent().getExtras().getString("login_w_name", "");
        Line = getIntent().getExtras().getString("CarDetailsActivity_Line", "");
        waijian_chedao = Line;
        acWaijianItemLine.setText(Line);
        UtilsLog.e("车辆特征参数==carsInforModel===" + carsInforModel);
        String log = "车辆特征参数==carsInforModel===" + carsInforModel+ "\n";
        PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, log.getBytes());
        etTurnAs.add(luntaiHuawenA1);
        etTurnAs.add(luntaiHuawenA2);
        etTurnAs.add(luntaiHuawenA3);
        etTurnAs.add(luntaiHuawenA4);
        etTurnBs.add(luntaiHuawenB1);
        etTurnBs.add(luntaiHuawenB2);
        etTurnBs.add(luntaiHuawenB3);
        etTurnBs.add(luntaiHuawenB4);
        etTurnCs.add(luntaiHuawenC1);
        etTurnCs.add(luntaiHuawenC2);
        etTurnCs.add(luntaiHuawenC3);
        etTurnCs.add(luntaiHuawenC4);
        etTurnDs.add(luntaiHuawenD1);
        etTurnDs.add(luntaiHuawenD2);
        etTurnDs.add(luntaiHuawenD3);
        etTurnDs.add(luntaiHuawenD4);
        etTurnEs.add(luntaiHuawenE1);
        etTurnEs.add(luntaiHuawenE2);
        etTurnEs.add(luntaiHuawenE3);
        etTurnEs.add(luntaiHuawenE4);
        etTurnFs.add(luntaiHuawenF1);
        etTurnFs.add(luntaiHuawenF2);
        etTurnFs.add(luntaiHuawenF3);
        etTurnFs.add(luntaiHuawenF4);
        if (carsInforModel != null) {
//            if (Integer.valueOf(times) > 1) {
//                // 复检--特征参数
//                saveData();
//            }
            UtilsLog.e("车辆特征参数---ElectronicHandbrake=====" + carsInforModel.getElectronicHandbrake());
            String logStrf2 = "\n" + "onCreate-----车辆特征参数---WaiJianPhotoActivity-----" + "\n" +
                    "ElectronicHandbrake::" + carsInforModel.getElectronicHandbrake() + "\n";
            PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStrf2.getBytes());
            //车牌号码
            if (!TextUtils.isEmpty(carsInforModel.getPlateRegion()) &&
                    !TextUtils.isEmpty(carsInforModel.getPlateNO())) {
                acWaijianItemNumber.setText(carsInforModel.getPlateRegion() +
                        carsInforModel.getPlateNO());
            }
            //检验次数```````
            if (!TextUtils.isEmpty(String.valueOf(carsInforModel.getTimes()))) {
                acWaijianItemTimes.setText(carsInforModel.getTimes() + "次");
            }
            //SN
            if (!TextUtils.isEmpty(String.valueOf(carsInforModel.getSN()))) {
                acWaijianItemSN.setText(carsInforModel.getSN());
            }

            //转向轴数量
            if (!TextUtils.isEmpty(String.valueOf(carsInforModel.getTurnAxis()))) {
                acWaijianItemZhuanxiangZhouShuliang.setText(carsInforModel.getTurnAxis());
            }
            //驻车制动是否使用电子控制装置
            acWaijianItemDianziKongzhi.setText(carsInforModel.getElectronicHandbrake().equals("1") ? "是" : "否");

            //是否全时/适时四驱
            if (!TextUtils.isEmpty(String.valueOf(carsInforModel.getDriverType()))) {
                if (carsInforModel.getDriverType().equals("2") ||
                        carsInforModel.getDriverType().equals("3")) {
                    acWaijianItemShifouQuanshi.setText("是");
                } else {
                    acWaijianItemShifouQuanshi.setText("否");
                }
            } else {
                acWaijianItemShifouQuanshi.setText("否");
            }
            if (!TextUtils.isEmpty(String.valueOf(carsInforModel.getLiftHeight()))) {
                acWaijianItemChexiangLanbanGaodu.setHint(carsInforModel.getLiftHeight());
                acWaijianItemGuaChexiangLanbanGaodu.setHint(carsInforModel.getLiftHeight());
            }
            if (!TextUtils.isEmpty(String.valueOf(carsInforModel.getDLiftHeight()))) {
                acWaijianItemChexiangLanbanGaodu.setHint(carsInforModel.getDLiftHeight());
            }
            //region
            if (carsInforModel.getPlateType().contains("15")) {
                guaLuntaiHuawenLl00.setVisibility(View.VISIBLE);
                //挂车
                int totalAxis = Integer.parseInt(carsInforModel.getTotalAxis());//总轴数
                switch (totalAxis) {
                    case 1:
                        guaLuntaiHuawenLlA.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlB.setVisibility(View.GONE);
                        guaLuntaiHuawenLlC.setVisibility(View.GONE);
                        guaLuntaiHuawenLlD.setVisibility(View.GONE);
                        guaLuntaiHuawenLlE.setVisibility(View.GONE);
                        guaLuntaiHuawenLlF.setVisibility(View.GONE);
                        break;
                    case 2:
                        guaLuntaiHuawenLlA.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlB.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlC.setVisibility(View.GONE);
                        guaLuntaiHuawenLlD.setVisibility(View.GONE);
                        guaLuntaiHuawenLlE.setVisibility(View.GONE);
                        guaLuntaiHuawenLlF.setVisibility(View.GONE);
                        break;
                    case 3:
                        guaLuntaiHuawenLlA.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlB.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlC.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlD.setVisibility(View.GONE);
                        guaLuntaiHuawenLlE.setVisibility(View.GONE);
                        guaLuntaiHuawenLlF.setVisibility(View.GONE);
                        break;
                    case 4:
                        guaLuntaiHuawenLlA.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlB.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlC.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlD.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlE.setVisibility(View.GONE);
                        guaLuntaiHuawenLlF.setVisibility(View.GONE);
                        break;
                    case 5:
                        guaLuntaiHuawenLlA.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlB.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlC.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlD.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlE.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlF.setVisibility(View.GONE);
                        break;
                    case 6:
                        guaLuntaiHuawenLlA.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlB.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlC.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlD.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlE.setVisibility(View.VISIBLE);
                        guaLuntaiHuawenLlF.setVisibility(View.VISIBLE);
                        break;
                }
                luntaiHuawenLlA.setVisibility(View.VISIBLE);
                luntaiHuawenLlB.setVisibility(View.GONE);
                luntaiHuawenLlC.setVisibility(View.GONE);
                luntaiHuawenLlD.setVisibility(View.GONE);
                luntaiHuawenLlE.setVisibility(View.GONE);
                luntaiHuawenLlF.setVisibility(View.GONE);
                otherLuntaiHuawenLlA.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlB.setVisibility(View.GONE);
                otherLuntaiHuawenLlC.setVisibility(View.GONE);
                otherLuntaiHuawenLlD.setVisibility(View.GONE);
                otherLuntaiHuawenLlE.setVisibility(View.GONE);
                otherLuntaiHuawenLlF.setVisibility(View.GONE);
                String GTireTreadDepth;
                if (Integer.valueOf(times) > 1 && carsInforModel.getGTireTreadDepth() != null) {
                    //轮胎花纹（挂车）
                    GTireTreadDepth = carsInforModel.getGTireTreadDepth();
                    if (GTireTreadDepth.contains("F")) {
                        //六轴
                        String[] splitGua = GTireTreadDepth.split("/");
                        guaLuntaiHuawenA1.setText(splitGua[0].split(":").length > 1 ? splitGua[0].split(":")[1] : "");
                        guaLuntaiHuawenA2.setText(splitGua[1].split(":").length > 1 ? splitGua[1].split(":")[1] : "");
                        guaLuntaiHuawenA3.setText(splitGua[2].split(":").length > 1 ? splitGua[2].split(":")[1] : "");
                        guaLuntaiHuawenA4.setText(splitGua[3].split(":").length > 1 ? splitGua[3].split(":")[1] : "");
                        guaLuntaiHuawenB1.setText(splitGua[4].split(":").length > 1 ? splitGua[4].split(":")[1] : "");
                        guaLuntaiHuawenB2.setText(splitGua[5].split(":").length > 1 ? splitGua[5].split(":")[1] : "");
                        guaLuntaiHuawenB3.setText(splitGua[6].split(":").length > 1 ? splitGua[6].split(":")[1] : "");
                        guaLuntaiHuawenB4.setText(splitGua[7].split(":").length > 1 ? splitGua[7].split(":")[1] : "");
                        guaLuntaiHuawenC1.setText(splitGua[8].split(":").length > 1 ? splitGua[8].split(":")[1] : "");
                        guaLuntaiHuawenC2.setText(splitGua[9].split(":").length > 1 ? splitGua[9].split(":")[1] : "");
                        guaLuntaiHuawenC3.setText(splitGua[10].split(":").length > 1 ? splitGua[10].split(":")[1] : "");
                        guaLuntaiHuawenC4.setText(splitGua[11].split(":").length > 1 ? splitGua[11].split(":")[1] : "");
                        guaLuntaiHuawenD1.setText(splitGua[12].split(":").length > 1 ? splitGua[12].split(":")[1] : "");
                        guaLuntaiHuawenD2.setText(splitGua[13].split(":").length > 1 ? splitGua[13].split(":")[1] : "");
                        guaLuntaiHuawenD3.setText(splitGua[14].split(":").length > 1 ? splitGua[14].split(":")[1] : "");
                        guaLuntaiHuawenD4.setText(splitGua[15].split(":").length > 1 ? splitGua[15].split(":")[1] : "");
                        guaLuntaiHuawenE1.setText(splitGua[16].split(":").length > 1 ? splitGua[16].split(":")[1] : "");
                        guaLuntaiHuawenE2.setText(splitGua[17].split(":").length > 1 ? splitGua[17].split(":")[1] : "");
                        guaLuntaiHuawenE3.setText(splitGua[18].split(":").length > 1 ? splitGua[18].split(":")[1] : "");
                        guaLuntaiHuawenE4.setText(splitGua[19].split(":").length > 1 ? splitGua[19].split(":")[1] : "");
                        guaLuntaiHuawenF1.setText(splitGua[20].split(":").length > 1 ? splitGua[20].split(":")[1] : "");
                        guaLuntaiHuawenF2.setText(splitGua[21].split(":").length > 1 ? splitGua[21].split(":")[1] : "");
                        guaLuntaiHuawenF3.setText(splitGua[22].split(":").length > 1 ? splitGua[22].split(":")[1] : "");
                        guaLuntaiHuawenF4.setText(splitGua[23].split(":").length > 1 ? splitGua[23].split(":")[1] : "");
                    } else if (GTireTreadDepth.contains("E")) {
                        //5
                        String[] splitGua = GTireTreadDepth.split("/");
                        guaLuntaiHuawenA1.setText(splitGua[0].split(":").length > 1 ? splitGua[0].split(":")[1] : "");
                        guaLuntaiHuawenA2.setText(splitGua[1].split(":").length > 1 ? splitGua[1].split(":")[1] : "");
                        guaLuntaiHuawenA3.setText(splitGua[2].split(":").length > 1 ? splitGua[2].split(":")[1] : "");
                        guaLuntaiHuawenA4.setText(splitGua[3].split(":").length > 1 ? splitGua[3].split(":")[1] : "");
                        guaLuntaiHuawenB1.setText(splitGua[4].split(":").length > 1 ? splitGua[4].split(":")[1] : "");
                        guaLuntaiHuawenB2.setText(splitGua[5].split(":").length > 1 ? splitGua[5].split(":")[1] : "");
                        guaLuntaiHuawenB3.setText(splitGua[6].split(":").length > 1 ? splitGua[6].split(":")[1] : "");
                        guaLuntaiHuawenB4.setText(splitGua[7].split(":").length > 1 ? splitGua[7].split(":")[1] : "");
                        guaLuntaiHuawenC1.setText(splitGua[8].split(":").length > 1 ? splitGua[8].split(":")[1] : "");
                        guaLuntaiHuawenC2.setText(splitGua[9].split(":").length > 1 ? splitGua[9].split(":")[1] : "");
                        guaLuntaiHuawenC3.setText(splitGua[10].split(":").length > 1 ? splitGua[10].split(":")[1] : "");
                        guaLuntaiHuawenC4.setText(splitGua[11].split(":").length > 1 ? splitGua[11].split(":")[1] : "");
                        guaLuntaiHuawenD1.setText(splitGua[12].split(":").length > 1 ? splitGua[12].split(":")[1] : "");
                        guaLuntaiHuawenD2.setText(splitGua[13].split(":").length > 1 ? splitGua[13].split(":")[1] : "");
                        guaLuntaiHuawenD3.setText(splitGua[14].split(":").length > 1 ? splitGua[14].split(":")[1] : "");
                        guaLuntaiHuawenD4.setText(splitGua[15].split(":").length > 1 ? splitGua[15].split(":")[1] : "");
                        guaLuntaiHuawenE1.setText(splitGua[16].split(":").length > 1 ? splitGua[16].split(":")[1] : "");
                        guaLuntaiHuawenE2.setText(splitGua[17].split(":").length > 1 ? splitGua[17].split(":")[1] : "");
                        guaLuntaiHuawenE3.setText(splitGua[18].split(":").length > 1 ? splitGua[18].split(":")[1] : "");
                        guaLuntaiHuawenE4.setText(splitGua[19].split(":").length > 1 ? splitGua[19].split(":")[1] : "");

                    } else if (GTireTreadDepth.contains("D")) {
                        String[] splitGua = GTireTreadDepth.split("/");
                        guaLuntaiHuawenA1.setText(splitGua[0].split(":").length > 1 ? splitGua[0].split(":")[1] : "");
                        guaLuntaiHuawenA2.setText(splitGua[1].split(":").length > 1 ? splitGua[1].split(":")[1] : "");
                        guaLuntaiHuawenA3.setText(splitGua[2].split(":").length > 1 ? splitGua[2].split(":")[1] : "");
                        guaLuntaiHuawenA4.setText(splitGua[3].split(":").length > 1 ? splitGua[3].split(":")[1] : "");
                        guaLuntaiHuawenB1.setText(splitGua[4].split(":").length > 1 ? splitGua[4].split(":")[1] : "");
                        guaLuntaiHuawenB2.setText(splitGua[5].split(":").length > 1 ? splitGua[5].split(":")[1] : "");
                        guaLuntaiHuawenB3.setText(splitGua[6].split(":").length > 1 ? splitGua[6].split(":")[1] : "");
                        guaLuntaiHuawenB4.setText(splitGua[7].split(":").length > 1 ? splitGua[7].split(":")[1] : "");
                        guaLuntaiHuawenC1.setText(splitGua[8].split(":").length > 1 ? splitGua[8].split(":")[1] : "");
                        guaLuntaiHuawenC2.setText(splitGua[9].split(":").length > 1 ? splitGua[9].split(":")[1] : "");
                        guaLuntaiHuawenC3.setText(splitGua[10].split(":").length > 1 ? splitGua[10].split(":")[1] : "");
                        guaLuntaiHuawenC4.setText(splitGua[11].split(":").length > 1 ? splitGua[11].split(":")[1] : "");
                        guaLuntaiHuawenD1.setText(splitGua[12].split(":").length > 1 ? splitGua[12].split(":")[1] : "");
                        guaLuntaiHuawenD2.setText(splitGua[13].split(":").length > 1 ? splitGua[13].split(":")[1] : "");
                        guaLuntaiHuawenD3.setText(splitGua[14].split(":").length > 1 ? splitGua[14].split(":")[1] : "");
                        guaLuntaiHuawenD4.setText(splitGua[15].split(":").length > 1 ? splitGua[15].split(":")[1] : "");
                    } else if (GTireTreadDepth.contains("C")) {
                        if((GTireTreadDepth.contains("C1")&&GTireTreadDepth.contains("C2"))
                                ||(GTireTreadDepth.contains("C1")&&GTireTreadDepth.contains("C2")&&GTireTreadDepth.contains("C3")&&GTireTreadDepth.contains("C4"))){
                            String[] splitGua = GTireTreadDepth.split("/");
                            guaLuntaiHuawenA1.setText(splitGua[0].split(":").length > 1 ? splitGua[0].split(":")[1] : "");
                            guaLuntaiHuawenA2.setText(splitGua[1].split(":").length > 1 ? splitGua[1].split(":")[1] : "");
                            guaLuntaiHuawenA3.setText(splitGua[2].split(":").length > 1 ? splitGua[2].split(":")[1] : "");
                            guaLuntaiHuawenA4.setText(splitGua[3].split(":").length > 1 ? splitGua[3].split(":")[1] : "");
                            guaLuntaiHuawenB1.setText(splitGua[4].split(":").length > 1 ? splitGua[4].split(":")[1] : "");
                            guaLuntaiHuawenB2.setText(splitGua[5].split(":").length > 1 ? splitGua[5].split(":")[1] : "");
                            guaLuntaiHuawenB3.setText(splitGua[6].split(":").length > 1 ? splitGua[6].split(":")[1] : "");
                            guaLuntaiHuawenB4.setText(splitGua[7].split(":").length > 1 ? splitGua[7].split(":")[1] : "");
                            guaLuntaiHuawenC1.setText(splitGua[8].split(":").length > 1 ? splitGua[8].split(":")[1] : "");
                            guaLuntaiHuawenC2.setText(splitGua[9].split(":").length > 1 ? splitGua[9].split(":")[1] : "");
                            guaLuntaiHuawenC3.setText(splitGua[10].split(":").length > 1 ? splitGua[10].split(":")[1] : "");
                            guaLuntaiHuawenC4.setText(splitGua[11].split(":").length > 1 ? splitGua[11].split(":")[1] : "");
                        }else{
                            String str = "\n" + "--车辆特征参数--轮胎花纹---" + "\n"+
                                    "GTireTreadDepth=="+GTireTreadDepth+ "\n";
                            PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, str.getBytes());
                        }
                    } else if (GTireTreadDepth.contains("B")) {
                        String[] splitGua = GTireTreadDepth.split("/");
                        guaLuntaiHuawenA1.setText(splitGua[0].split(":").length > 1 ? splitGua[0].split(":")[1] : "");
                        guaLuntaiHuawenA2.setText(splitGua[1].split(":").length > 1 ? splitGua[1].split(":")[1] : "");
                        guaLuntaiHuawenA3.setText(splitGua[2].split(":").length > 1 ? splitGua[2].split(":")[1] : "");
                        guaLuntaiHuawenA4.setText(splitGua[3].split(":").length > 1 ? splitGua[3].split(":")[1] : "");
                        guaLuntaiHuawenB1.setText(splitGua[4].split(":").length > 1 ? splitGua[4].split(":")[1] : "");
                        guaLuntaiHuawenB2.setText(splitGua[5].split(":").length > 1 ? splitGua[5].split(":")[1] : "");
                        guaLuntaiHuawenB3.setText(splitGua[6].split(":").length > 1 ? splitGua[6].split(":")[1] : "");
                        guaLuntaiHuawenB4.setText(splitGua[7].split(":").length > 1 ? splitGua[7].split(":")[1] : "");
                    } else if (GTireTreadDepth.contains("A")) {
                        //1
                        String[] splitGua = GTireTreadDepth.split("/");
                        if (splitGua.length < 3) {
                            guaLuntaiHuawenA1.setText(splitGua[0].split(":").length > 1 ? splitGua[0].split(":")[1] : "");
                            guaLuntaiHuawenA2.setText(splitGua[1].split(":").length > 1 ? splitGua[1].split(":")[1] : "");
                        } else {
                            guaLuntaiHuawenA1.setText(splitGua[0].split(":").length > 1 ? splitGua[0].split(":")[1] : "");
                            guaLuntaiHuawenA2.setText(splitGua[1].split(":").length > 1 ? splitGua[1].split(":")[1] : "");
                            guaLuntaiHuawenA3.setText(splitGua[2].split(":").length > 1 ? splitGua[2].split(":")[1] : "");
                            guaLuntaiHuawenA4.setText(splitGua[3].split(":").length > 1 ? splitGua[3].split(":")[1] : "");
                        }
                    }
                }
                String TurnTireTreadDepth;
                if (carsInforModel.getTurnTireTreadDepth() != null) {
                    TurnTireTreadDepth = carsInforModel.getTurnTireTreadDepth();
                    if (TurnTireTreadDepth.contains("A")) {
                        String[] splitTurn = TurnTireTreadDepth.split("/");
                        if (splitTurn.length < 3) {
                            luntaiHuawenA1.setText(splitTurn[0].split(":").length > 1 ? splitTurn[0].split(":")[1] : "");
                            luntaiHuawenA2.setText(splitTurn[1].split(":").length > 1 ? splitTurn[1].split(":")[1] : "");
                        } else {
                            luntaiHuawenA1.setText(splitTurn[0].split(":").length > 1 ? splitTurn[0].split(":")[1] : "");
                            luntaiHuawenA2.setText(splitTurn[1].split(":").length > 1 ? splitTurn[1].split(":")[1] : "");
                            luntaiHuawenA2.setText(splitTurn[2].split(":").length > 1 ? splitTurn[2].split(":")[1] : "");
                            luntaiHuawenA2.setText(splitTurn[3].split(":").length > 1 ? splitTurn[3].split(":")[1] : "");
                        }
                    }
                }
                String OtherTireTreadDepth;
                if (carsInforModel.getOtherTireTreadDepth() != null) {
                    OtherTireTreadDepth = carsInforModel.getOtherTireTreadDepth();
                    if (OtherTireTreadDepth.contains("A")) {
                        String[] splitOther = OtherTireTreadDepth.split("/");
                        if (splitOther.length < 3) {
                            otherLuntaiHuawenA1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenA2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenA1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenA2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                            otherLuntaiHuawenA2.setText(splitOther[2].split(":").length > 1 ? splitOther[2].split(":")[1] : "");
                            otherLuntaiHuawenA2.setText(splitOther[3].split(":").length > 1 ? splitOther[3].split(":")[1] : "");
                        }
                    }
                }
            } else {
                guaLuntaiHuawenLl00.setVisibility(View.GONE);
                //非挂车
                int totalAxis = Integer.parseInt(carsInforModel.getTotalAxis());//总轴数
                int turnAxis = Integer.parseInt(carsInforModel.getTurnAxis());//转向轴
                int differenceValues = totalAxis - turnAxis;
                switch (turnAxis) {
                    case 1:
                        luntaiHuawenLlA.setVisibility(View.VISIBLE);
                        luntaiHuawenLlB.setVisibility(View.GONE);
                        luntaiHuawenLlC.setVisibility(View.GONE);
                        luntaiHuawenLlD.setVisibility(View.GONE);
                        luntaiHuawenLlE.setVisibility(View.GONE);
                        luntaiHuawenLlF.setVisibility(View.GONE);
                        if (Integer.valueOf(times) > 1 && carsInforModel.getTurnTireTreadDepth() != null) {
                            String turn = carsInforModel.getTurnTireTreadDepth();
                            String[] splitTurn = turn.split("/");
                            int turnLength = splitTurn.length;
                            List<Integer> turnAArr = new ArrayList<>();
                            for (int i = 0; i < turnLength; i++) {
                                if (splitTurn[i].split(":")[0].contains("A")) {
                                    turnAArr.add(i);
                                }
                            }
                            String logStr = "此时，turnAxis==1,turn===" + turn + "\n" + "splitTurn.toString()===="
                                    + Arrays.toString(splitTurn) + "\n" + "turnAArr===" + turnAArr + "\n";
                            Log.e("tag", logStr);
                            PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr.getBytes());
                            for (int i = 0; i < turnAArr.size(); i++) {
                                etTurnAs.get(i).setText(splitTurn[turnAArr.get(i)].split(":").length > 1 ? splitTurn[turnAArr.get(i)].split(":")[1] : "");
                            }
//                            if (turn.contains("A")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenA1.setText(splitTurn[0].split(":").length > 1 ? splitTurn[0].split(":")[1] : "");
//                                luntaiHuawenA2.setText(splitTurn[1].split(":").length > 1 ? splitTurn[1].split(":")[1] : "");
//                                luntaiHuawenA3.setText(splitTurn[2].split(":").length > 1 ? splitTurn[2].split(":")[1] : "");
//                                luntaiHuawenA4.setText(splitTurn[3].split(":").length > 1 ? splitTurn[3].split(":")[1] : "");
//                            }
                        }
                        differenceValuesView(differenceValues, turnAxis);
                        Log.e("tag", "-------767------");
                        break;
                    case 2:
                        luntaiHuawenLlA.setVisibility(View.VISIBLE);
                        luntaiHuawenLlB.setVisibility(View.VISIBLE);
                        luntaiHuawenLlC.setVisibility(View.GONE);
                        luntaiHuawenLlD.setVisibility(View.GONE);
                        luntaiHuawenLlE.setVisibility(View.GONE);
                        luntaiHuawenLlF.setVisibility(View.GONE);
                        if (Integer.valueOf(times) > 1 && carsInforModel.getTurnTireTreadDepth() != null) {
                            String turn = carsInforModel.getTurnTireTreadDepth();
                            String[] splitTurn = turn.split("/");
                            int turnLength = splitTurn.length;
                            List<Integer> turnAArr = new ArrayList<>();
                            List<Integer> turnBArr = new ArrayList<>();
                            for (int i = 0; i < turnLength; i++) {
                                if (splitTurn[i].split(":")[0].contains("A")) {
                                    turnAArr.add(i);
                                } else if (splitTurn[i].split(":")[0].contains("B")) {
                                    turnBArr.add(i);
                                }
                            }
                            String logStr = "此时，turnAxis==2,turn===" + turn + "\n" + "splitTurn.toString()===="
                                    + Arrays.toString(splitTurn) + "\n" + "turnAArr===" + turnAArr + "\n" + "turnBArr"
                                    + turnBArr;
                            PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr.getBytes());
//                            for (int i = 0; i < turnAArr.size(); i++) {
                            for (int i = 0; i < turnAArr.size(); i++) {
                                etTurnAs.get(i).setText(splitTurn[turnAArr.get(i)].split(":").length > 1 ? splitTurn[turnAArr.get(i)].split(":")[1] : "");
                            }
                            for (int i = 0; i < turnBArr.size(); i++) {
                                etTurnBs.get(i).setText(splitTurn[turnBArr.get(i)].split(":").length > 1 ? splitTurn[turnBArr.get(i)].split(":")[1] : "");
                            }
//                            if (turn.contains("A")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenA1.setText(splitTurn[0].split(":").length > 1 ? splitTurn[0].split(":")[1] : "");
//                                luntaiHuawenA2.setText(splitTurn[1].split(":").length > 1 ? splitTurn[1].split(":")[1] : "");
//                                luntaiHuawenA3.setText(splitTurn[2].split(":").length > 1 ? splitTurn[2].split(":")[1] : "");
//                                luntaiHuawenA4.setText(splitTurn[3].split(":").length > 1 ? splitTurn[3].split(":")[1] : "");
//                            }
//                            if (turn.contains("B")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenB1.setText(splitTurn[4].split(":").length > 1 ? splitTurn[4].split(":")[1] : "");
//                                luntaiHuawenB2.setText(splitTurn[5].split(":").length > 1 ? splitTurn[5].split(":")[1] : "");
//                                luntaiHuawenB3.setText(splitTurn[6].split(":").length > 1 ? splitTurn[6].split(":")[1] : "");
//                                luntaiHuawenB4.setText(splitTurn[7].split(":").length > 1 ? splitTurn[7].split(":")[1] : "");
//                            }
                        }
                        differenceValuesView(differenceValues, turnAxis);
                        Log.e("tag", "-------816------");
                        break;
                    case 3:
                        luntaiHuawenLlA.setVisibility(View.VISIBLE);
                        luntaiHuawenLlB.setVisibility(View.VISIBLE);
                        luntaiHuawenLlC.setVisibility(View.VISIBLE);
                        luntaiHuawenLlD.setVisibility(View.GONE);
                        luntaiHuawenLlE.setVisibility(View.GONE);
                        luntaiHuawenLlF.setVisibility(View.GONE);
                        if (Integer.valueOf(times) > 1 && carsInforModel.getTurnTireTreadDepth() != null) {
                            String turn = carsInforModel.getTurnTireTreadDepth();
                            String[] splitTurn = turn.split("/");
                            int turnLength = splitTurn.length;
                            List<Integer> turnAArr = new ArrayList<>();
                            List<Integer> turnBArr = new ArrayList<>();
                            List<Integer> turnCArr = new ArrayList<>();
                            for (int i = 0; i < turnLength; i++) {
                                if (splitTurn[i].split(":")[0].contains("A")) {
                                    turnAArr.add(i);
                                } else if (splitTurn[i].split(":")[0].contains("B")) {
                                    turnBArr.add(i);
                                } else if (splitTurn[i].split(":")[0].contains("C")) {
                                    turnCArr.add(i);
                                }
                            }
                            for (int i = 0; i < turnAArr.size(); i++) {
                                etTurnAs.get(i).setText(splitTurn[turnAArr.get(i)].split(":").length > 1 ? splitTurn[turnAArr.get(i)].split(":")[1] : "");
                            }
                            for (int i = 0; i < turnBArr.size(); i++) {
                                etTurnBs.get(i).setText(splitTurn[turnBArr.get(i)].split(":").length > 1 ? splitTurn[turnBArr.get(i)].split(":")[1] : "");
                            }
                            for (int i = 0; i < turnCArr.size(); i++) {
                                etTurnCs.get(i).setText(splitTurn[turnCArr.get(i)].split(":").length > 1 ? splitTurn[turnCArr.get(i)].split(":")[1] : "");
                            }
//                            if (turn.contains("A")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenA1.setText(splitTurn[0].split(":").length > 1 ? splitTurn[0].split(":")[1] : "");
//                                luntaiHuawenA2.setText(splitTurn[1].split(":").length > 1 ? splitTurn[1].split(":")[1] : "");
//                                luntaiHuawenA3.setText(splitTurn[2].split(":").length > 1 ? splitTurn[2].split(":")[1] : "");
//                                luntaiHuawenA4.setText(splitTurn[3].split(":").length > 1 ? splitTurn[3].split(":")[1] : "");
//                            }
//                            if (turn.contains("B")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenB1.setText(splitTurn[4].split(":").length > 1 ? splitTurn[4].split(":")[1] : "");
//                                luntaiHuawenB2.setText(splitTurn[5].split(":").length > 1 ? splitTurn[5].split(":")[1] : "");
//                                luntaiHuawenB3.setText(splitTurn[6].split(":").length > 1 ? splitTurn[6].split(":")[1] : "");
//                                luntaiHuawenB4.setText(splitTurn[7].split(":").length > 1 ? splitTurn[7].split(":")[1] : "");
//                            }
//                            if (turn.contains("C")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenC1.setText(splitTurn[8].split(":").length > 1 ? splitTurn[8].split(":")[1] : "");
//                                luntaiHuawenC2.setText(splitTurn[9].split(":").length > 1 ? splitTurn[9].split(":")[1] : "");
//                                luntaiHuawenC3.setText(splitTurn[10].split(":").length > 1 ? splitTurn[10].split(":")[1] : "");
//                                luntaiHuawenC4.setText(splitTurn[11].split(":").length > 1 ? splitTurn[11].split(":")[1] : "");
//                            }
                        }
                        differenceValuesView(differenceValues, turnAxis);
                        Log.e("tag", "-------872------");
                        break;
                    case 4:
                        luntaiHuawenLlA.setVisibility(View.VISIBLE);
                        luntaiHuawenLlB.setVisibility(View.VISIBLE);
                        luntaiHuawenLlC.setVisibility(View.VISIBLE);
                        luntaiHuawenLlD.setVisibility(View.VISIBLE);
                        luntaiHuawenLlE.setVisibility(View.GONE);
                        luntaiHuawenLlF.setVisibility(View.GONE);
                        if (Integer.valueOf(times) > 1 && carsInforModel.getTurnTireTreadDepth() != null) {
                            String turn = carsInforModel.getTurnTireTreadDepth();
                            String[] splitTurn = turn.split("/");
                            int turnLength = splitTurn.length;
                            List<Integer> turnAArr = new ArrayList<>();
                            List<Integer> turnBArr = new ArrayList<>();
                            List<Integer> turnCArr = new ArrayList<>();
                            List<Integer> turnDArr = new ArrayList<>();
                            for (int i = 0; i < turnLength; i++) {
                                if (splitTurn[i].split(":")[0].contains("A")) {
                                    turnAArr.add(i);
                                } else if (splitTurn[i].split(":")[0].contains("B")) {
                                    turnBArr.add(i);
                                } else if (splitTurn[i].split(":")[0].contains("C")) {
                                    turnCArr.add(i);
                                } else if (splitTurn[i].split(":")[0].contains("D")) {
                                    turnDArr.add(i);
                                }
                            }
                            for (int i = 0; i < turnAArr.size(); i++) {
                                etTurnAs.get(i).setText(splitTurn[turnAArr.get(i)].split(":").length > 1 ? splitTurn[turnAArr.get(i)].split(":")[1] : "");
                            }
                            for (int i = 0; i < turnBArr.size(); i++) {
                                etTurnBs.get(i).setText(splitTurn[turnBArr.get(i)].split(":").length > 1 ? splitTurn[turnBArr.get(i)].split(":")[1] : "");
                            }
                            for (int i = 0; i < turnCArr.size(); i++) {
                                etTurnCs.get(i).setText(splitTurn[turnCArr.get(i)].split(":").length > 1 ? splitTurn[turnCArr.get(i)].split(":")[1] : "");
                            }
                            for (int i = 0; i < turnDArr.size(); i++) {
                                etTurnDs.get(i).setText(splitTurn[turnDArr.get(i)].split(":").length > 1 ? splitTurn[turnDArr.get(i)].split(":")[1] : "");
                            }
//                            if (turn.contains("A")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenA1.setText(splitTurn[0].split(":").length > 1 ? splitTurn[0].split(":")[1] : "");
//                                luntaiHuawenA2.setText(splitTurn[1].split(":").length > 1 ? splitTurn[1].split(":")[1] : "");
//                                luntaiHuawenA3.setText(splitTurn[2].split(":").length > 1 ? splitTurn[2].split(":")[1] : "");
//                                luntaiHuawenA4.setText(splitTurn[3].split(":").length > 1 ? splitTurn[3].split(":")[1] : "");
//                            }
//                            if (turn.contains("B")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenB1.setText(splitTurn[4].split(":").length > 1 ? splitTurn[4].split(":")[1] : "");
//                                luntaiHuawenB2.setText(splitTurn[5].split(":").length > 1 ? splitTurn[5].split(":")[1] : "");
//                                luntaiHuawenB3.setText(splitTurn[6].split(":").length > 1 ? splitTurn[6].split(":")[1] : "");
//                                luntaiHuawenB4.setText(splitTurn[7].split(":").length > 1 ? splitTurn[7].split(":")[1] : "");
//                            }
//                            if (turn.contains("C")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenC1.setText(splitTurn[8].split(":").length > 1 ? splitTurn[8].split(":")[1] : "");
//                                luntaiHuawenC2.setText(splitTurn[9].split(":").length > 1 ? splitTurn[9].split(":")[1] : "");
//                                luntaiHuawenC3.setText(splitTurn[10].split(":").length > 1 ? splitTurn[10].split(":")[1] : "");
//                                luntaiHuawenC4.setText(splitTurn[11].split(":").length > 1 ? splitTurn[11].split(":")[1] : "");
//                            }
//                            if (turn.contains("D")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenD1.setText(splitTurn[12].split(":").length > 1 ? splitTurn[12].split(":")[1] : "");
//                                luntaiHuawenD2.setText(splitTurn[13].split(":").length > 1 ? splitTurn[13].split(":")[1] : "");
//                                luntaiHuawenD3.setText(splitTurn[14].split(":").length > 1 ? splitTurn[14].split(":")[1] : "");
//                                luntaiHuawenD4.setText(splitTurn[15].split(":").length > 1 ? splitTurn[15].split(":")[1] : "");
//                            }
                        }
                        differenceValuesView(differenceValues, turnAxis);
                        Log.e("tag", "-------943------");
                        break;
                    case 5:
                        luntaiHuawenLlA.setVisibility(View.VISIBLE);
                        luntaiHuawenLlB.setVisibility(View.VISIBLE);
                        luntaiHuawenLlC.setVisibility(View.VISIBLE);
                        luntaiHuawenLlD.setVisibility(View.VISIBLE);
                        luntaiHuawenLlE.setVisibility(View.VISIBLE);
                        luntaiHuawenLlF.setVisibility(View.GONE);
                        if (Integer.valueOf(times) > 1 && carsInforModel.getTurnTireTreadDepth() != null) {
                            String turn = carsInforModel.getTurnTireTreadDepth();
                            String[] splitTurn = turn.split("/");
                            int turnLength = splitTurn.length;
                            List<Integer> turnAArr = new ArrayList<>();
                            List<Integer> turnBArr = new ArrayList<>();
                            List<Integer> turnCArr = new ArrayList<>();
                            List<Integer> turnDArr = new ArrayList<>();
                            List<Integer> turnEArr = new ArrayList<>();
                            for (int i = 0; i < turnLength; i++) {
                                if (splitTurn[i].split(":")[0].contains("A")) {
                                    turnAArr.add(i);
                                } else if (splitTurn[i].split(":")[0].contains("B")) {
                                    turnBArr.add(i);
                                } else if (splitTurn[i].split(":")[0].contains("C")) {
                                    turnCArr.add(i);
                                } else if (splitTurn[i].split(":")[0].contains("D")) {
                                    turnDArr.add(i);
                                } else if (splitTurn[i].split(":")[0].contains("E")) {
                                    turnEArr.add(i);
                                }
                            }
                            for (int i = 0; i < turnAArr.size(); i++) {
                                etTurnAs.get(i).setText(splitTurn[turnAArr.get(i)].split(":").length > 1 ? splitTurn[turnAArr.get(i)].split(":")[1] : "");
                            }
                            for (int i = 0; i < turnBArr.size(); i++) {
                                etTurnBs.get(i).setText(splitTurn[turnBArr.get(i)].split(":").length > 1 ? splitTurn[turnBArr.get(i)].split(":")[1] : "");
                            }
                            for (int i = 0; i < turnCArr.size(); i++) {
                                etTurnCs.get(i).setText(splitTurn[turnCArr.get(i)].split(":").length > 1 ? splitTurn[turnCArr.get(i)].split(":")[1] : "");
                            }
                            for (int i = 0; i < turnDArr.size(); i++) {
                                etTurnDs.get(i).setText(splitTurn[turnDArr.get(i)].split(":").length > 1 ? splitTurn[turnDArr.get(i)].split(":")[1] : "");
                            }
                            for (int i = 0; i < turnEArr.size(); i++) {
                                etTurnEs.get(i).setText(splitTurn[turnEArr.get(i)].split(":").length > 1 ? splitTurn[turnEArr.get(i)].split(":")[1] : "");
                            }
//                            if (turn.contains("A")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenA1.setText(splitTurn[0].split(":").length > 1 ? splitTurn[0].split(":")[1] : "");
//                                luntaiHuawenA2.setText(splitTurn[1].split(":").length > 1 ? splitTurn[1].split(":")[1] : "");
//                                luntaiHuawenA3.setText(splitTurn[2].split(":").length > 1 ? splitTurn[2].split(":")[1] : "");
//                                luntaiHuawenA4.setText(splitTurn[3].split(":").length > 1 ? splitTurn[3].split(":")[1] : "");
//                            }
//                            if (turn.contains("B")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenB1.setText(splitTurn[4].split(":").length > 1 ? splitTurn[4].split(":")[1] : "");
//                                luntaiHuawenB2.setText(splitTurn[5].split(":").length > 1 ? splitTurn[5].split(":")[1] : "");
//                                luntaiHuawenB3.setText(splitTurn[6].split(":").length > 1 ? splitTurn[6].split(":")[1] : "");
//                                luntaiHuawenB4.setText(splitTurn[7].split(":").length > 1 ? splitTurn[7].split(":")[1] : "");
//                            }
//                            if (turn.contains("C")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenC1.setText(splitTurn[8].split(":").length > 1 ? splitTurn[8].split(":")[1] : "");
//                                luntaiHuawenC2.setText(splitTurn[9].split(":").length > 1 ? splitTurn[9].split(":")[1] : "");
//                                luntaiHuawenC3.setText(splitTurn[10].split(":").length > 1 ? splitTurn[10].split(":")[1] : "");
//                                luntaiHuawenC4.setText(splitTurn[11].split(":").length > 1 ? splitTurn[11].split(":")[1] : "");
//                            }
//                            if (turn.contains("D")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenD1.setText(splitTurn[12].split(":").length > 1 ? splitTurn[12].split(":")[1] : "");
//                                luntaiHuawenD2.setText(splitTurn[13].split(":").length > 1 ? splitTurn[13].split(":")[1] : "");
//                                luntaiHuawenD3.setText(splitTurn[14].split(":").length > 1 ? splitTurn[14].split(":")[1] : "");
//                                luntaiHuawenD4.setText(splitTurn[15].split(":").length > 1 ? splitTurn[15].split(":")[1] : "");
//                            }
//                            if (turn.contains("E")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenE1.setText(splitTurn[16].split(":").length > 1 ? splitTurn[16].split(":")[1] : "");
//                                luntaiHuawenE2.setText(splitTurn[17].split(":").length > 1 ? splitTurn[17].split(":")[1] : "");
//                                luntaiHuawenE3.setText(splitTurn[18].split(":").length > 1 ? splitTurn[18].split(":")[1] : "");
//                                luntaiHuawenE4.setText(splitTurn[19].split(":").length > 1 ? splitTurn[19].split(":")[1] : "");
//                            }
                        }
                        differenceValuesView(differenceValues, turnAxis);
                        Log.e("tag", "-------1026------");
                        break;
                    case 6:
                        luntaiHuawenLlA.setVisibility(View.VISIBLE);
                        luntaiHuawenLlB.setVisibility(View.VISIBLE);
                        luntaiHuawenLlC.setVisibility(View.VISIBLE);
                        luntaiHuawenLlD.setVisibility(View.VISIBLE);
                        luntaiHuawenLlE.setVisibility(View.VISIBLE);
                        luntaiHuawenLlF.setVisibility(View.VISIBLE);
                        if (Integer.valueOf(times) > 1 && carsInforModel.getTurnTireTreadDepth() != null) {
                            String turn = carsInforModel.getTurnTireTreadDepth();
                            String[] splitTurn = turn.split("/");
                            int turnLength = splitTurn.length;
                            List<Integer> turnAArr = new ArrayList<>();
                            List<Integer> turnBArr = new ArrayList<>();
                            List<Integer> turnCArr = new ArrayList<>();
                            List<Integer> turnDArr = new ArrayList<>();
                            List<Integer> turnEArr = new ArrayList<>();
                            List<Integer> turnFArr = new ArrayList<>();
                            for (int i = 0; i < turnLength; i++) {
                                if (splitTurn[i].split(":")[0].contains("A")) {
                                    turnAArr.add(i);
                                } else if (splitTurn[i].split(":")[0].contains("B")) {
                                    turnBArr.add(i);
                                } else if (splitTurn[i].split(":")[0].contains("C")) {
                                    turnCArr.add(i);
                                } else if (splitTurn[i].split(":")[0].contains("D")) {
                                    turnDArr.add(i);
                                } else if (splitTurn[i].split(":")[0].contains("E")) {
                                    turnEArr.add(i);
                                } else if (splitTurn[i].split(":")[0].contains("F")) {
                                    turnFArr.add(i);
                                }
                            }
                            for (int i = 0; i < turnAArr.size(); i++) {
                                etTurnAs.get(i).setText(splitTurn[turnAArr.get(i)].split(":").length > 1 ? splitTurn[turnAArr.get(i)].split(":")[1] : "");
                            }
                            for (int i = 0; i < turnBArr.size(); i++) {
                                etTurnBs.get(i).setText(splitTurn[turnBArr.get(i)].split(":").length > 1 ? splitTurn[turnBArr.get(i)].split(":")[1] : "");
                            }
                            for (int i = 0; i < turnCArr.size(); i++) {
                                etTurnCs.get(i).setText(splitTurn[turnCArr.get(i)].split(":").length > 1 ? splitTurn[turnCArr.get(i)].split(":")[1] : "");
                            }
                            for (int i = 0; i < turnDArr.size(); i++) {
                                etTurnDs.get(i).setText(splitTurn[turnDArr.get(i)].split(":").length > 1 ? splitTurn[turnDArr.get(i)].split(":")[1] : "");
                            }
                            for (int i = 0; i < turnEArr.size(); i++) {
                                etTurnEs.get(i).setText(splitTurn[turnEArr.get(i)].split(":").length > 1 ? splitTurn[turnEArr.get(i)].split(":")[1] : "");
                            }
                            for (int i = 0; i < turnFArr.size(); i++) {
                                etTurnFs.get(i).setText(splitTurn[turnFArr.get(i)].split(":").length > 1 ? splitTurn[turnFArr.get(i)].split(":")[1] : "");
                            }
//                            if (turn.contains("A")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenA1.setText(splitTurn[0].split(":").length > 1 ? splitTurn[0].split(":")[1] : "");
//                                luntaiHuawenA2.setText(splitTurn[1].split(":").length > 1 ? splitTurn[1].split(":")[1] : "");
//                                luntaiHuawenA3.setText(splitTurn[2].split(":").length > 1 ? splitTurn[2].split(":")[1] : "");
//                                luntaiHuawenA4.setText(splitTurn[3].split(":").length > 1 ? splitTurn[3].split(":")[1] : "");
//                            }
//                            if (turn.contains("B")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenB1.setText(splitTurn[4].split(":").length > 1 ? splitTurn[4].split(":")[1] : "");
//                                luntaiHuawenB2.setText(splitTurn[5].split(":").length > 1 ? splitTurn[5].split(":")[1] : "");
//                                luntaiHuawenB3.setText(splitTurn[6].split(":").length > 1 ? splitTurn[6].split(":")[1] : "");
//                                luntaiHuawenB4.setText(splitTurn[7].split(":").length > 1 ? splitTurn[7].split(":")[1] : "");
//                            }
//                            if (turn.contains("C")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenC1.setText(splitTurn[8].split(":").length > 1 ? splitTurn[8].split(":")[1] : "");
//                                luntaiHuawenC2.setText(splitTurn[9].split(":").length > 1 ? splitTurn[9].split(":")[1] : "");
//                                luntaiHuawenC3.setText(splitTurn[10].split(":").length > 1 ? splitTurn[10].split(":")[1] : "");
//                                luntaiHuawenC4.setText(splitTurn[11].split(":").length > 1 ? splitTurn[11].split(":")[1] : "");
//                            }
//                            if (turn.contains("D")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenD1.setText(splitTurn[12].split(":").length > 1 ? splitTurn[12].split(":")[1] : "");
//                                luntaiHuawenD2.setText(splitTurn[13].split(":").length > 1 ? splitTurn[13].split(":")[1] : "");
//                                luntaiHuawenD3.setText(splitTurn[14].split(":").length > 1 ? splitTurn[14].split(":")[1] : "");
//                                luntaiHuawenD4.setText(splitTurn[15].split(":").length > 1 ? splitTurn[15].split(":")[1] : "");
//                            }
//                            if (turn.contains("E")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenE1.setText(splitTurn[16].split(":").length > 1 ? splitTurn[16].split(":")[1] : "");
//                                luntaiHuawenE2.setText(splitTurn[17].split(":").length > 1 ? splitTurn[17].split(":")[1] : "");
//                                luntaiHuawenE3.setText(splitTurn[18].split(":").length > 1 ? splitTurn[18].split(":")[1] : "");
//                                luntaiHuawenE4.setText(splitTurn[19].split(":").length > 1 ? splitTurn[19].split(":")[1] : "");
//                            }
//                            if (turn.contains("F")) {
//                                String[] splitTurn = turn.split("/");
//                                luntaiHuawenF1.setText(splitTurn[20].split(":").length > 1 ? splitTurn[20].split(":")[1] : "");
//                                luntaiHuawenF2.setText(splitTurn[21].split(":").length > 1 ? splitTurn[21].split(":")[1] : "");
//                                luntaiHuawenF3.setText(splitTurn[22].split(":").length > 1 ? splitTurn[22].split(":")[1] : "");
//                                luntaiHuawenF4.setText(splitTurn[23].split(":").length > 1 ? splitTurn[23].split(":")[1] : "");
//                            }
                        }
                        differenceValuesView(differenceValues, turnAxis);
                        Log.e("tag", "-------1122------");
                        break;
                }
            }
            Log.e("tag", "-------1126------");
            if (Integer.valueOf(times) > 1) {
                //复检
                Log.e("tag", "-------1129------");
                //外廓长
                if (carsInforModel.getWKLength() != null) {
                    Log.e("tag", "外廓长------" + carsInforModel.getWKLength());
                    acWaijianItemWaikuoChang.setText(carsInforModel.getWKLength());
                }
                if (carsInforModel.getWKWidth() != null) {
                    acWaijianItemWaikuoKuan.setText(carsInforModel.getWKWidth());
                }
                if (carsInforModel.getWKHeight() != null) {
                    acWaijianItemWaikuoGao.setText(carsInforModel.getWKHeight());
                }
                Log.e("tag", "-------1141------");
//                if (carsInforModel.getTurnTireTreadDepth() != null) {
//                    //轮胎花纹（转向轮）
//
//                }
//                if (carsInforModel.getOtherTireTreadDepth() != null) {
//                    //轮胎花纹（其他轮）
//
//                }

                if (carsInforModel.getDLiftHeight() != null) {
                    //单车栏板高度
                    acWaijianItemChexiangLanbanGaodu.setText(carsInforModel.getDLiftHeight());
                }
                if (carsInforModel.getGLiftHeight() != null) {
                    //挂车栏板高度
                    acWaijianItemGuaChexiangLanbanGaodu.setText(carsInforModel.getGLiftHeight());
                }
                if (carsInforModel.getFirstAxisLeftHeight() != null) {
                    acWaijianItemDiyizhouZuogaodu.setText(carsInforModel.getFirstAxisLeftHeight());
                }
                if (carsInforModel.getFirstAxisRightHeight() != null) {
                    acWaijianItemDiyizhouYougaodu.setText(carsInforModel.getFirstAxisRightHeight());
                }
                if (carsInforModel.getFirstAxisHeightDiff() != null) {
                    acWaijianItemDiyizhouZuoyouGaoducha.setText(carsInforModel.getFirstAxisHeightDiff());
                }
                if (carsInforModel.getLastAxisLeftHeight() != null) {
                    acWaijianItemZuihouzhouZuoGaodu.setText(carsInforModel.getLastAxisLeftHeight());
                }
                if (carsInforModel.getLastAxisRightHeight() != null) {
                    acWaijianItemZuihouzhouYouGaodu.setText(carsInforModel.getLastAxisRightHeight());
                }
                if (carsInforModel.getLastAxisHeightDiff() != null) {
                    acWaijianItemZuihouzhouZuoyouGaoducha.setText(carsInforModel.getLastAxisHeightDiff());
                }
                if (carsInforModel.getGAxisLeftHeight() != null) {
                    acWaijianItemGuaZuoGaoducha.setText(carsInforModel.getGAxisLeftHeight());
                }
                if (carsInforModel.getGAxisRightHeight() != null) {
                    acWaijianItemYouGaoducha.setText(carsInforModel.getGAxisRightHeight());
                }
                if (carsInforModel.getGAxisHeightDiff() != null) {
                    acWaijianItemGuaGaoduchaGaoducha.setText(carsInforModel.getGAxisHeightDiff());
                }
                if (carsInforModel.getTireTreadVerdict() != null) {
                    //轮胎花纹判定
                    acWaijianHegeLuntai.setText(carsInforModel.getTireTreadVerdict());
                }
                if (carsInforModel.getAxisLeftHeightVerdict() != null) {
                    //高度差判定
                    acWaijianHegeCheshen.setText(carsInforModel.getAxisLeftHeightVerdict());
                }
                if (carsInforModel.getLiftHeightVerdict() != null) {
                    //栏板高度判定
                    acWaijianHegeLanban.setText(carsInforModel.getLiftHeightVerdict());
                }
                Log.e("tag", "-------1198------");
            }else{
                //外廓长
                if (carsInforModel.getWKLength() != null) {
                    Log.e("tag", "外廓长------" + carsInforModel.getWKLength());
                    acWaijianItemWaikuoChang.setHint("请输入车辆长"+carsInforModel.getWKLength());
                }
                if (carsInforModel.getWKWidth() != null) {
                    acWaijianItemWaikuoKuan.setHint("请输入车辆宽"+carsInforModel.getWKWidth());
                }
                if (carsInforModel.getWKHeight() != null) {
                    acWaijianItemWaikuoGao.setHint("请输入车辆高"+carsInforModel.getWKHeight());
                }
                if (carsInforModel.getLiftHeight() != null) {
                    //单车栏板高度
                    acWaijianItemChexiangLanbanGaodu.setHint("请输入车辆栏板高度"+carsInforModel.getLiftHeight());
                }
            }

//            acWaijianItemWaikuoChang.setText(carsInforModel.getOutlineLength() );
//            acWaijianItemWaikuoKuan.setText(carsInforModel.getOutlineWidth() );
//            acWaijianItemWaikuoGao.setText(carsInforModel.getOutlineHeight() );
//            acWaijianItemZhouju.setText(carsInforModel.getWheelBase() );
        }

        //endregion
        DialogSettings.style = (DialogSettings.STYLE.STYLE_KONGZUE);
        DialogSettings.cancelable = (true);              //全局对话框默认是否可以点击外围遮罩区域或返回键关闭，此开关不影响提示框（TipDialog）以及等待框（TipDialog）
        DialogSettings.cancelableTipDialog = (true);     //全局提示框及等待框（WaitDialog、TipDialog）默认是否可以关闭
        DialogSettings.DEBUGMODE = (true);
        DialogSettings.init();
        Log.e("tag", "-------1211------");
//        if (Integer.valueOf(carsInforModel.getTimes()) == 1) {
            init_DB_Data();
//        }
        Log.e("tag", "-------1213------");
        getOutPhotoItem();
    }

    @Override
    protected void onResume() {
        super.onResume();
        List<WaiJianItemModel> waiJianItemModelList = WaiJianItemModel.find(WaiJianItemModel.class, "SN=?", carsInforModel.getSN());
        if (waiJianItemModelList != null && waiJianItemModelList.size() > 0) {
            UtilsLog.e("waiJianItemModelList===" + waiJianItemModelList.toString());
            String shifou_dianzi_shousha = waiJianItemModelList.get(0).getShifouDianzikongzhi();
            String kongqi_xuanjia = waiJianItemModelList.get(0).getKongqiXuanjia();
            String kongqi_xuanjia_zhoushu = waiJianItemModelList.get(0).getKongqiXuanjiaZhou();
            UtilsLog.e("空气悬架轴数===kongqi_xuanjia_zhoushu==" + kongqi_xuanjia_zhoushu);
            acWaijianItemKongqiXuanjiaZhou.setText(kongqi_xuanjia_zhoushu);
            //驻车制动是否使用电子控制装置
//            acWaijianItemDianziKongzhi.setText(carsInforModel.getElectronicHandbrake().equals("1") ? "是" : "否");
            if (shifou_dianzi_shousha.equals("2")||shifou_dianzi_shousha.equals("否")) {
//                uciModel.setElectronicHandbrake("2");//电子手刹  否
//                model.setShifouDianzikongzhi("2");
                acWaijianItemDianziKongzhi.setText("否");
            } else {
//                uciModel.setElectronicHandbrake("1");//电子手刹 是
//                model.setShifouDianzikongzhi("1");
                acWaijianItemDianziKongzhi.setText("是");
            }
            if (kongqi_xuanjia.equals("否")) {
//                uciModel.setAirSuspension("2");//空气悬架
//                model.setKongqiXuanjia("否");
                acWaijianItemKongqiXuanjia.setText("否");
            } else {
//                uciModel.setAirSuspension("1");//空气悬架
//                model.setKongqiXuanjia("是");
                acWaijianItemKongqiXuanjia.setText("是");
            }

        } else {
            UtilsLog.e("waiJianItemModelList===null");

        }
    }

    // 如果数据库中有值，则界面显示
    void init_DB_Data() {
        String logStrf = "\n" + "init_DB_Data-----外检项目-----" + "\n";
        UtilsLog.e("init_DB_Data==carNo===" + carsInforModel.getPlateRegion() +
                carsInforModel.getPlateNO());
//        List<WaiJianItemModel> books = WaiJianItemModel.listAll(WaiJianItemModel.class);
        List<WaiJianItemModel> books = WaiJianItemModel.find(WaiJianItemModel.class, "SN=?", carsInforModel.getSN());
        if (books != null && books.size() > 0) {
            logStrf += logStrf + "books====" + books.toString() + "\n";
            PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStrf.getBytes());
            UtilsLog.e("init_DB_Data==" + books.toString());
            WaiJianItemModel model = books.get(books.size() - 1);
            if (model != null) {
                acWaijianItemKongqiXuanjiaZhou.setText(model.getKongqiXuanjiaZhou());
                acWaijianItemWaikuoChang.setText(model.getWaikuoChang());
                acWaijianItemWaikuoKuan.setText(model.getWaikuoKuan());
                acWaijianItemWaikuoGao.setText(model.getWaikuoGao());
                acWaijianItemZhouju.setText(model.getZhouju());
                acWaijianItemZhuanxiangZhouShuliang.setText(model.getZhuanxiangzhou());
                acWaijianHegeLanban.setText(model.getHege_lanban());
//                acWaijianItemChexiangLanbanGaodu.setText(model.getChexiangLanbanGaodu());
                acWaijianHegeLuntai.setText(model.getHege_luntai());
//                acWaijianItemGuaChexiangLanbanGaodu.setText(model.getGuaCheLanbanGaodu());
                acWaijianItemGuaZuoGaoducha.setText(model.getGuaCheZuoGaodu());
                acWaijianItemYouGaoducha.setText(model.getGuaCheYouGaodu());
                acWaijianItemGuaGaoduchaGaoducha.setText(model.getGuaCheGaoduGaoducha());
                acWaijianItemDiyizhouZuogaodu.setText(model.getDiyizhouZuogaodu());
                acWaijianItemDiyizhouYougaodu.setText(model.getDiyizhouYougaodu());
                acWaijianItemDiyizhouZuoyouGaoducha.setText(model.getDiyizhouZuoyouGaodu());
                acWaijianItemZuihouzhouZuoGaodu.setText(model.getZuihouzhouZuoGaodu());
                acWaijianItemZuihouzhouYouGaodu.setText(model.getZuihouzhouYouGaodu());
                acWaijianItemZuihouzhouZuoyouGaoducha.setText(model.getZuihouzhouZuoyouGaodu());
                acWaijianItemDesc.setText(model.getDesc());
                acWaijianItemBeizhu.setText(model.getRemark());
                acWaijianHegeCheshen.setText(model.getHege_cheshen());
                //驻车制动是否使用电子控制装置
                if (!TextUtils.isEmpty(model.getShifouDianzikongzhi())) {
                    acWaijianItemDianziKongzhi.setText(model.getShifouDianzikongzhi());
                }

                //是否配备空气悬架
                if (!TextUtils.isEmpty(model.getKongqiXuanjia())) {
                    if (!TextUtils.isEmpty(String.valueOf(carsInforModel.getAirSuspensionAxle()))) {
                        acWaijianItemKongqiXuanjiaZhou.setText(carsInforModel.getAirSuspensionAxle());
                    }
                    acWaijianItemKongqiXuanjia.setText(model.getKongqiXuanjia());

                } else {
//                    acWaijianItemKongqiXuanjia.setText("否");
                    if (!TextUtils.isEmpty(String.valueOf(carsInforModel.getAirSuspensionAxle()))) {
                        acWaijianItemKongqiXuanjiaZhou.setText(carsInforModel.getAirSuspensionAxle());
                    }
                    if (carsInforModel.getAirSuspension().equals("1")) {
                        acWaijianItemKongqiXuanjia.setText("是");
                    } else {
                        acWaijianItemKongqiXuanjia.setText("否");
                    }
                }
            } else {
                UtilsLog.e("init_DB_Data--model--空==");
            }
        } else {
            logStrf += logStrf + "本地数据库没数据====" + "\n" + "ElectronicHandbrake===" + carsInforModel.getElectronicHandbrake() + "\n";
            PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStrf.getBytes());
            //驻车制动是否使用电子控制装置
            if (!TextUtils.isEmpty(String.valueOf(carsInforModel.getElectronicHandbrake()))) {
                acWaijianItemDianziKongzhi.setText(carsInforModel.getElectronicHandbrake().equals("1") ? "是" : "否");
            }

            //是否配备空气悬架
            if (!TextUtils.isEmpty(String.valueOf(carsInforModel.getAirSuspension()))) {
                if (carsInforModel.getAirSuspension().equals("1")) {
                    acWaijianItemKongqiXuanjia.setText("是");
                    //空气悬架轴
                    if (!TextUtils.isEmpty(String.valueOf(carsInforModel.getAirSuspensionAxle()))) {
                        acWaijianItemKongqiXuanjiaZhou.setText(carsInforModel.getAirSuspensionAxle());
                    }
                } else {
                    acWaijianItemKongqiXuanjia.setText("否");
                    if (!TextUtils.isEmpty(String.valueOf(carsInforModel.getAirSuspensionAxle()))) {
                        acWaijianItemKongqiXuanjiaZhou.setText(carsInforModel.getAirSuspensionAxle());
                    }
                }
            } else {
                acWaijianItemKongqiXuanjia.setText("否");
            }
            UtilsLog.e("init_DB_Data----空==");
        }
    }

    void differenceValuesView(int differenceValues, int turnAxis) {
        String OtherTireTreadDepth = carsInforModel.getOtherTireTreadDepth();
//        String[] splitOther = new String[0];
        if (differenceValues == 0) {
            otherLuntaiHuawenLlA.setVisibility(View.GONE);
            otherLuntaiHuawenLlB.setVisibility(View.GONE);
            otherLuntaiHuawenLlC.setVisibility(View.GONE);
            otherLuntaiHuawenLlD.setVisibility(View.GONE);
            otherLuntaiHuawenLlE.setVisibility(View.GONE);
            otherLuntaiHuawenLlF.setVisibility(View.GONE);
        } else if (differenceValues == 1) {
            if (turnAxis == 1) {
                otherLuntaiHuawenLlA.setVisibility(View.GONE);
                otherLuntaiHuawenLlB.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlC.setVisibility(View.GONE);
                otherLuntaiHuawenLlD.setVisibility(View.GONE);
                otherLuntaiHuawenLlE.setVisibility(View.GONE);
                otherLuntaiHuawenLlF.setVisibility(View.GONE);
                if (Integer.valueOf(times) > 1 && OtherTireTreadDepth != null) {
                    String[] splitOther = OtherTireTreadDepth.split("/");
                    if (OtherTireTreadDepth.contains("B")) {
                        if (splitOther.length < 3) {
                            otherLuntaiHuawenB1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenB2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenB1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenB2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                            otherLuntaiHuawenB3.setText(splitOther[2].split(":").length > 1 ? splitOther[2].split(":")[1] : "");
                            otherLuntaiHuawenB4.setText(splitOther[3].split(":").length > 1 ? splitOther[3].split(":")[1] : "");
                        }
                    }
                }
            } else if (turnAxis == 2) {
                otherLuntaiHuawenLlA.setVisibility(View.GONE);
                otherLuntaiHuawenLlB.setVisibility(View.GONE);
                otherLuntaiHuawenLlC.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlD.setVisibility(View.GONE);
                otherLuntaiHuawenLlE.setVisibility(View.GONE);
                otherLuntaiHuawenLlF.setVisibility(View.GONE);
                if (Integer.valueOf(times) > 1 && OtherTireTreadDepth != null) {
                    String[] splitOther = OtherTireTreadDepth.split("/");
                    if (OtherTireTreadDepth.contains("C")) {
                        if (splitOther.length < 3) {
                            otherLuntaiHuawenC1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenC2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenC1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenC2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                            otherLuntaiHuawenC3.setText(splitOther[2].split(":").length > 1 ? splitOther[2].split(":")[1] : "");
                            otherLuntaiHuawenC4.setText(splitOther[3].split(":").length > 1 ? splitOther[3].split(":")[1] : "");
                        }
                    }
                }
            } else if (turnAxis == 3) {
                otherLuntaiHuawenLlA.setVisibility(View.GONE);
                otherLuntaiHuawenLlB.setVisibility(View.GONE);
                otherLuntaiHuawenLlC.setVisibility(View.GONE);
                otherLuntaiHuawenLlD.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlE.setVisibility(View.GONE);
                otherLuntaiHuawenLlF.setVisibility(View.GONE);
                if (Integer.valueOf(times) > 1 && OtherTireTreadDepth != null) {
                    String[] splitOther = OtherTireTreadDepth.split("/");
                    if (OtherTireTreadDepth.contains("D")) {
                        if (splitOther.length < 3) {
                            otherLuntaiHuawenD1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenD1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                            otherLuntaiHuawenD3.setText(splitOther[2].split(":").length > 1 ? splitOther[2].split(":")[1] : "");
                            otherLuntaiHuawenD4.setText(splitOther[3].split(":").length > 1 ? splitOther[3].split(":")[1] : "");
                        }
                    }
                }
            }
        } else if (differenceValues == 2) {
            if (turnAxis == 1) {
                otherLuntaiHuawenLlA.setVisibility(View.GONE);
                otherLuntaiHuawenLlB.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlC.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlD.setVisibility(View.GONE);
                otherLuntaiHuawenLlE.setVisibility(View.GONE);
                otherLuntaiHuawenLlF.setVisibility(View.GONE);
                if (Integer.valueOf(times) > 1 && OtherTireTreadDepth != null) {
                    String[] splitOther = OtherTireTreadDepth.split("/");
                    if (OtherTireTreadDepth.contains("B")) {
                        if (splitOther.length < 3) {
                            otherLuntaiHuawenB1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenB2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenB1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenB2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                            otherLuntaiHuawenB3.setText(splitOther[2].split(":").length > 1 ? splitOther[2].split(":")[1] : "");
                            otherLuntaiHuawenB4.setText(splitOther[3].split(":").length > 1 ? splitOther[3].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("C")) {
                        if (splitOther.length < 7) {
                            otherLuntaiHuawenC1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenC2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenC1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenC2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                            otherLuntaiHuawenC3.setText(splitOther[6].split(":").length > 1 ? splitOther[6].split(":")[1] : "");
                            otherLuntaiHuawenC4.setText(splitOther[7].split(":").length > 1 ? splitOther[7].split(":")[1] : "");
                        }
                    }
                }
            } else if (turnAxis == 2) {
                otherLuntaiHuawenLlA.setVisibility(View.GONE);
                otherLuntaiHuawenLlB.setVisibility(View.GONE);
                otherLuntaiHuawenLlC.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlD.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlE.setVisibility(View.GONE);
                otherLuntaiHuawenLlF.setVisibility(View.GONE);
                if (Integer.valueOf(times) > 1 && OtherTireTreadDepth != null) {
                    String[] splitOther = OtherTireTreadDepth.split("/");
                    if (OtherTireTreadDepth.contains("C")) {
                        if (splitOther.length < 3) {
                            otherLuntaiHuawenC1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenC2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenC1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenC2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                            otherLuntaiHuawenC3.setText(splitOther[2].split(":").length > 1 ? splitOther[2].split(":")[1] : "");
                            otherLuntaiHuawenC4.setText(splitOther[3].split(":").length > 1 ? splitOther[3].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("D")) {
                        if (splitOther.length < 7) {
                            otherLuntaiHuawenD1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenD1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                            otherLuntaiHuawenD3.setText(splitOther[6].split(":").length > 1 ? splitOther[6].split(":")[1] : "");
                            otherLuntaiHuawenD4.setText(splitOther[7].split(":").length > 1 ? splitOther[7].split(":")[1] : "");
                        }
                    }
                }

            } else if (turnAxis == 3) {
                otherLuntaiHuawenLlA.setVisibility(View.GONE);
                otherLuntaiHuawenLlB.setVisibility(View.GONE);
                otherLuntaiHuawenLlC.setVisibility(View.GONE);
                otherLuntaiHuawenLlD.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlE.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlF.setVisibility(View.GONE);
                if (Integer.valueOf(times) > 1 && OtherTireTreadDepth != null) {
                    String[] splitOther = OtherTireTreadDepth.split("/");
                    if (OtherTireTreadDepth.contains("D")) {
                        if (splitOther.length < 3) {
                            otherLuntaiHuawenD1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenD1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                            otherLuntaiHuawenD3.setText(splitOther[2].split(":").length > 1 ? splitOther[2].split(":")[1] : "");
                            otherLuntaiHuawenD4.setText(splitOther[3].split(":").length > 1 ? splitOther[3].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("E")) {
                        if (splitOther.length < 7) {
                            otherLuntaiHuawenE1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenE2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenE1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenE2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                            otherLuntaiHuawenE3.setText(splitOther[6].split(":").length > 1 ? splitOther[6].split(":")[1] : "");
                            otherLuntaiHuawenE4.setText(splitOther[7].split(":").length > 1 ? splitOther[7].split(":")[1] : "");
                        }
                    }
                }
            }
        } else if (differenceValues == 3) {
            if (turnAxis == 1) {
                otherLuntaiHuawenLlA.setVisibility(View.GONE);
                otherLuntaiHuawenLlB.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlC.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlD.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlE.setVisibility(View.GONE);
                otherLuntaiHuawenLlF.setVisibility(View.GONE);
                if (Integer.valueOf(times) > 1 && OtherTireTreadDepth != null) {
                    String[] splitOther = OtherTireTreadDepth.split("/");
                    if (OtherTireTreadDepth.contains("B")) {
                        if (splitOther.length < 3) {
                            otherLuntaiHuawenB1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenB2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenB1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenB2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                            otherLuntaiHuawenB3.setText(splitOther[2].split(":").length > 1 ? splitOther[2].split(":")[1] : "");
                            otherLuntaiHuawenB4.setText(splitOther[3].split(":").length > 1 ? splitOther[3].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("C")) {
                        if (splitOther.length < 7) {
                            otherLuntaiHuawenC1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenC2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenC1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenC2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                            otherLuntaiHuawenC3.setText(splitOther[6].split(":").length > 1 ? splitOther[6].split(":")[1] : "");
                            otherLuntaiHuawenC4.setText(splitOther[7].split(":").length > 1 ? splitOther[7].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("D")) {
                        if (splitOther.length < 11) {
                            otherLuntaiHuawenD1.setText(splitOther[8].split(":").length > 1 ? splitOther[8].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[9].split(":").length > 1 ? splitOther[9].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenD1.setText(splitOther[8].split(":").length > 1 ? splitOther[8].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[9].split(":").length > 1 ? splitOther[9].split(":")[1] : "");
                            otherLuntaiHuawenD3.setText(splitOther[10].split(":").length > 1 ? splitOther[10].split(":")[1] : "");
                            otherLuntaiHuawenD4.setText(splitOther[11].split(":").length > 1 ? splitOther[11].split(":")[1] : "");
                        }
                    }
                }
            } else if (turnAxis == 2) {
                otherLuntaiHuawenLlA.setVisibility(View.GONE);
                otherLuntaiHuawenLlB.setVisibility(View.GONE);
                otherLuntaiHuawenLlC.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlD.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlE.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlF.setVisibility(View.GONE);
                if (Integer.valueOf(times) > 1 && OtherTireTreadDepth != null) {
                    String[] splitOther = OtherTireTreadDepth.split("/");
                    if (OtherTireTreadDepth.contains("C")) {
                        if (splitOther.length < 3) {
                            otherLuntaiHuawenC1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenC2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenC1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenC2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                            otherLuntaiHuawenC3.setText(splitOther[2].split(":").length > 1 ? splitOther[2].split(":")[1] : "");
                            otherLuntaiHuawenC4.setText(splitOther[3].split(":").length > 1 ? splitOther[3].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("D")) {
                        if (splitOther.length < 7) {
                            otherLuntaiHuawenD1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenD1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                            otherLuntaiHuawenD3.setText(splitOther[6].split(":").length > 1 ? splitOther[6].split(":")[1] : "");
                            otherLuntaiHuawenD4.setText(splitOther[7].split(":").length > 1 ? splitOther[7].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("E")) {
                        if (splitOther.length < 11) {
                            otherLuntaiHuawenE1.setText(splitOther[8].split(":").length > 1 ? splitOther[8].split(":")[1] : "");
                            otherLuntaiHuawenE2.setText(splitOther[9].split(":").length > 1 ? splitOther[9].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenE1.setText(splitOther[8].split(":").length > 1 ? splitOther[8].split(":")[1] : "");
                            otherLuntaiHuawenE2.setText(splitOther[9].split(":").length > 1 ? splitOther[9].split(":")[1] : "");
                            otherLuntaiHuawenE3.setText(splitOther[10].split(":").length > 1 ? splitOther[10].split(":")[1] : "");
                            otherLuntaiHuawenE4.setText(splitOther[11].split(":").length > 1 ? splitOther[11].split(":")[1] : "");
                        }
                    }
                }
            } else if (turnAxis == 3) {
                otherLuntaiHuawenLlA.setVisibility(View.GONE);
                otherLuntaiHuawenLlB.setVisibility(View.GONE);
                otherLuntaiHuawenLlC.setVisibility(View.GONE);
                otherLuntaiHuawenLlD.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlE.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlF.setVisibility(View.VISIBLE);
                if (Integer.valueOf(times) > 1 && OtherTireTreadDepth != null) {
                    String[] splitOther = OtherTireTreadDepth.split("/");
                    if (OtherTireTreadDepth.contains("D")) {
                        if (splitOther.length < 3) {
                            otherLuntaiHuawenD1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenD1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                            otherLuntaiHuawenD3.setText(splitOther[2].split(":").length > 1 ? splitOther[2].split(":")[1] : "");
                            otherLuntaiHuawenD4.setText(splitOther[3].split(":").length > 1 ? splitOther[3].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("E")) {
                        if (splitOther.length < 7) {
                            otherLuntaiHuawenE1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenE2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenE1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenE2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                            otherLuntaiHuawenE3.setText(splitOther[6].split(":").length > 1 ? splitOther[6].split(":")[1] : "");
                            otherLuntaiHuawenE4.setText(splitOther[7].split(":").length > 1 ? splitOther[7].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("F")) {
                        if (splitOther.length < 11) {
                            otherLuntaiHuawenF1.setText(splitOther[8].split(":").length > 1 ? splitOther[8].split(":")[1] : "");
                            otherLuntaiHuawenF2.setText(splitOther[9].split(":").length > 1 ? splitOther[9].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenF1.setText(splitOther[8].split(":").length > 1 ? splitOther[8].split(":")[1] : "");
                            otherLuntaiHuawenF2.setText(splitOther[9].split(":").length > 1 ? splitOther[9].split(":")[1] : "");
                            otherLuntaiHuawenF3.setText(splitOther[10].split(":").length > 1 ? splitOther[10].split(":")[1] : "");
                            otherLuntaiHuawenF4.setText(splitOther[11].split(":").length > 1 ? splitOther[11].split(":")[1] : "");
                        }
                    }
                }
            }
        } else if (differenceValues == 4) {
            if (turnAxis == 1) {
                otherLuntaiHuawenLlA.setVisibility(View.GONE);
                otherLuntaiHuawenLlB.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlC.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlD.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlE.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlF.setVisibility(View.GONE);
                if (Integer.valueOf(times) > 1 && OtherTireTreadDepth != null) {
                    String[] splitOther = OtherTireTreadDepth.split("/");
                    if (OtherTireTreadDepth.contains("B")) {
                        if (splitOther.length < 3) {
                            otherLuntaiHuawenB1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenB2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenB1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenB2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                            otherLuntaiHuawenB3.setText(splitOther[2].split(":").length > 1 ? splitOther[2].split(":")[1] : "");
                            otherLuntaiHuawenB4.setText(splitOther[3].split(":").length > 1 ? splitOther[3].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("C")) {
                        if (splitOther.length < 7) {
                            otherLuntaiHuawenC1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenC2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenC1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenC2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                            otherLuntaiHuawenC3.setText(splitOther[6].split(":").length > 1 ? splitOther[6].split(":")[1] : "");
                            otherLuntaiHuawenC4.setText(splitOther[7].split(":").length > 1 ? splitOther[7].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("D")) {
                        if (splitOther.length < 11) {
                            otherLuntaiHuawenD1.setText(splitOther[8].split(":").length > 1 ? splitOther[8].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[9].split(":").length > 1 ? splitOther[9].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenD1.setText(splitOther[8].split(":").length > 1 ? splitOther[8].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[9].split(":").length > 1 ? splitOther[9].split(":")[1] : "");
                            otherLuntaiHuawenD3.setText(splitOther[10].split(":").length > 1 ? splitOther[10].split(":")[1] : "");
                            otherLuntaiHuawenD4.setText(splitOther[11].split(":").length > 1 ? splitOther[11].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("E")) {
                        if (splitOther.length < 15) {
                            otherLuntaiHuawenE1.setText(splitOther[12].split(":").length > 1 ? splitOther[12].split(":")[1] : "");
                            otherLuntaiHuawenE2.setText(splitOther[13].split(":").length > 1 ? splitOther[13].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenE1.setText(splitOther[12].split(":").length > 1 ? splitOther[12].split(":")[1] : "");
                            otherLuntaiHuawenE2.setText(splitOther[13].split(":").length > 1 ? splitOther[13].split(":")[1] : "");
                            otherLuntaiHuawenE3.setText(splitOther[14].split(":").length > 1 ? splitOther[14].split(":")[1] : "");
                            otherLuntaiHuawenE4.setText(splitOther[15].split(":").length > 1 ? splitOther[15].split(":")[1] : "");
                        }
                    }
                }
            } else if (turnAxis == 2) {
                otherLuntaiHuawenLlA.setVisibility(View.GONE);
                otherLuntaiHuawenLlB.setVisibility(View.GONE);
                otherLuntaiHuawenLlC.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlD.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlE.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlF.setVisibility(View.VISIBLE);
                if (Integer.valueOf(times) > 1 && OtherTireTreadDepth != null) {
                    String[] splitOther = OtherTireTreadDepth.split("/");
                    if (OtherTireTreadDepth.contains("C")) {
                        if (splitOther.length < 3) {
                            otherLuntaiHuawenC1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenC2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenC1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenC2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                            otherLuntaiHuawenC3.setText(splitOther[2].split(":").length > 1 ? splitOther[2].split(":")[1] : "");
                            otherLuntaiHuawenC4.setText(splitOther[3].split(":").length > 1 ? splitOther[3].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("D")) {
                        if (splitOther.length < 7) {
                            otherLuntaiHuawenD1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenD1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                            otherLuntaiHuawenD3.setText(splitOther[6].split(":").length > 1 ? splitOther[6].split(":")[1] : "");
                            otherLuntaiHuawenD4.setText(splitOther[7].split(":").length > 1 ? splitOther[7].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("E")) {
                        if (splitOther.length < 11) {
                            otherLuntaiHuawenE1.setText(splitOther[8].split(":").length > 1 ? splitOther[8].split(":")[1] : "");
                            otherLuntaiHuawenE2.setText(splitOther[9].split(":").length > 1 ? splitOther[9].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenE1.setText(splitOther[8].split(":").length > 1 ? splitOther[8].split(":")[1] : "");
                            otherLuntaiHuawenE2.setText(splitOther[9].split(":").length > 1 ? splitOther[9].split(":")[1] : "");
                            otherLuntaiHuawenE3.setText(splitOther[10].split(":").length > 1 ? splitOther[10].split(":")[1] : "");
                            otherLuntaiHuawenE4.setText(splitOther[11].split(":").length > 1 ? splitOther[11].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("F")) {
                        if (splitOther.length < 15) {
                            otherLuntaiHuawenF1.setText(splitOther[12].split(":").length > 1 ? splitOther[12].split(":")[1] : "");
                            otherLuntaiHuawenF2.setText(splitOther[13].split(":").length > 1 ? splitOther[13].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenF1.setText(splitOther[12].split(":").length > 1 ? splitOther[12].split(":")[1] : "");
                            otherLuntaiHuawenF2.setText(splitOther[13].split(":").length > 1 ? splitOther[13].split(":")[1] : "");
                            otherLuntaiHuawenF3.setText(splitOther[14].split(":").length > 1 ? splitOther[14].split(":")[1] : "");
                            otherLuntaiHuawenF4.setText(splitOther[15].split(":").length > 1 ? splitOther[15].split(":")[1] : "");
                        }
                    }
                }
            } else if (turnAxis == 3) {
                otherLuntaiHuawenLlA.setVisibility(View.GONE);
                otherLuntaiHuawenLlB.setVisibility(View.GONE);
                otherLuntaiHuawenLlC.setVisibility(View.GONE);
                otherLuntaiHuawenLlD.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlE.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlF.setVisibility(View.VISIBLE);
                if (Integer.valueOf(times) > 1 && OtherTireTreadDepth != null) {
                    String[] splitOther = OtherTireTreadDepth.split("/");
                    if (OtherTireTreadDepth.contains("D")) {
                        if (splitOther.length < 3) {
                            otherLuntaiHuawenD1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenD1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                            otherLuntaiHuawenD3.setText(splitOther[2].split(":").length > 1 ? splitOther[2].split(":")[1] : "");
                            otherLuntaiHuawenD4.setText(splitOther[3].split(":").length > 1 ? splitOther[3].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("E")) {
                        if (splitOther.length < 7) {
                            otherLuntaiHuawenE1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenE2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenE1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenE2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                            otherLuntaiHuawenE3.setText(splitOther[6].split(":").length > 1 ? splitOther[6].split(":")[1] : "");
                            otherLuntaiHuawenE4.setText(splitOther[7].split(":").length > 1 ? splitOther[7].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("F")) {
                        if (splitOther.length < 11) {
                            otherLuntaiHuawenF1.setText(splitOther[8].split(":").length > 1 ? splitOther[8].split(":")[1] : "");
                            otherLuntaiHuawenF2.setText(splitOther[9].split(":").length > 1 ? splitOther[9].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenF1.setText(splitOther[8].split(":").length > 1 ? splitOther[8].split(":")[1] : "");
                            otherLuntaiHuawenF2.setText(splitOther[9].split(":").length > 1 ? splitOther[9].split(":")[1] : "");
                            otherLuntaiHuawenF3.setText(splitOther[10].split(":").length > 1 ? splitOther[10].split(":")[1] : "");
                            otherLuntaiHuawenF4.setText(splitOther[11].split(":").length > 1 ? splitOther[11].split(":")[1] : "");
                        }
                    }
                }
            }
        } else if (differenceValues == 5) {
            if (turnAxis == 1) {
                otherLuntaiHuawenLlA.setVisibility(View.GONE);
                otherLuntaiHuawenLlB.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlC.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlD.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlE.setVisibility(View.VISIBLE);
                otherLuntaiHuawenLlF.setVisibility(View.VISIBLE);
                if (Integer.valueOf(times) > 1 && OtherTireTreadDepth != null) {
                    String[] splitOther = OtherTireTreadDepth.split("/");
                    if (OtherTireTreadDepth.contains("B")) {
                        if (splitOther.length < 3) {
                            otherLuntaiHuawenB1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenB2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenB1.setText(splitOther[0].split(":").length > 1 ? splitOther[0].split(":")[1] : "");
                            otherLuntaiHuawenB2.setText(splitOther[1].split(":").length > 1 ? splitOther[1].split(":")[1] : "");
                            otherLuntaiHuawenB3.setText(splitOther[2].split(":").length > 1 ? splitOther[2].split(":")[1] : "");
                            otherLuntaiHuawenB4.setText(splitOther[3].split(":").length > 1 ? splitOther[3].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("C")) {
                        if (splitOther.length < 7) {
                            otherLuntaiHuawenC1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenC2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenC1.setText(splitOther[4].split(":").length > 1 ? splitOther[4].split(":")[1] : "");
                            otherLuntaiHuawenC2.setText(splitOther[5].split(":").length > 1 ? splitOther[5].split(":")[1] : "");
                            otherLuntaiHuawenC3.setText(splitOther[6].split(":").length > 1 ? splitOther[6].split(":")[1] : "");
                            otherLuntaiHuawenC4.setText(splitOther[7].split(":").length > 1 ? splitOther[7].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("D")) {
                        if (splitOther.length < 11) {
                            otherLuntaiHuawenD1.setText(splitOther[8].split(":").length > 1 ? splitOther[8].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[9].split(":").length > 1 ? splitOther[9].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenD1.setText(splitOther[8].split(":").length > 1 ? splitOther[8].split(":")[1] : "");
                            otherLuntaiHuawenD2.setText(splitOther[9].split(":").length > 1 ? splitOther[9].split(":")[1] : "");
                            otherLuntaiHuawenD3.setText(splitOther[10].split(":").length > 1 ? splitOther[10].split(":")[1] : "");
                            otherLuntaiHuawenD4.setText(splitOther[11].split(":").length > 1 ? splitOther[11].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("E")) {
                        if (splitOther.length < 15) {
                            otherLuntaiHuawenE1.setText(splitOther[12].split(":").length > 1 ? splitOther[12].split(":")[1] : "");
                            otherLuntaiHuawenE2.setText(splitOther[13].split(":").length > 1 ? splitOther[13].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenE1.setText(splitOther[12].split(":").length > 1 ? splitOther[12].split(":")[1] : "");
                            otherLuntaiHuawenE2.setText(splitOther[13].split(":").length > 1 ? splitOther[13].split(":")[1] : "");
                            otherLuntaiHuawenE3.setText(splitOther[14].split(":").length > 1 ? splitOther[14].split(":")[1] : "");
                            otherLuntaiHuawenE4.setText(splitOther[15].split(":").length > 1 ? splitOther[15].split(":")[1] : "");
                        }
                    }
                    if (OtherTireTreadDepth.contains("F")) {
                        if (splitOther.length < 19) {
                            otherLuntaiHuawenF1.setText(splitOther[16].split(":").length > 1 ? splitOther[16].split(":")[1] : "");
                            otherLuntaiHuawenF2.setText(splitOther[17].split(":").length > 1 ? splitOther[17].split(":")[1] : "");
                        } else {
                            otherLuntaiHuawenF1.setText(splitOther[16].split(":").length > 1 ? splitOther[16].split(":")[1] : "");
                            otherLuntaiHuawenF2.setText(splitOther[17].split(":").length > 1 ? splitOther[17].split(":")[1] : "");
                            otherLuntaiHuawenF3.setText(splitOther[18].split(":").length > 1 ? splitOther[18].split(":")[1] : "");
                            otherLuntaiHuawenF4.setText(splitOther[19].split(":").length > 1 ? splitOther[19].split(":")[1] : "");
                        }
                    }
                }
            }
        }
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        OkGo.getInstance().cancelTag(this);
        String logStrf = "\n" + "onDestroy-----外检项目-----" + "\n";
        instances = null;
        List<WaiJianItemModel> waiJianItemModelList = WaiJianItemModel.find(WaiJianItemModel.class, "SN=?", carsInforModel.getSN());
        if (waiJianItemModelList != null && waiJianItemModelList.size() > 0) {
            UtilsLog.e("onDestroy=本地数据库有数据==" + waiJianItemModelList.toString());
            logStrf += "onDestroy=本地数据库有数据==" + waiJianItemModelList.toString() + "\n";
        } else {
            UtilsLog.e("onDestroy=null==本地数据库无数据");
            logStrf += "onDestroy=null==本地数据库无数据" + "\n";
        }
        PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStrf.getBytes());
    }


    @OnClick({R.id.ac_waijian_item_line, R.id.ac_waijian_item_shifou_quanshi,
            R.id.ac_waijian_item_dianzi_kongzhi, R.id.ac_waijian_item_kongqi_xuanjia,
            R.id.ac_waijian_item_details_video, R.id.ac_waijian_item_btn_other,
            R.id.ac_waijian_item_btn_start, R.id.ac_waijian_hege_lanban,
            R.id.ac_waijian_hege_luntai, R.id.ac_waijian_hege_cheshen,
            R.id.ac_waijian_item_finish, R.id.ac_waijian_item_fab})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.ac_waijian_item_fab:
                showPhotoDialog(luntaiPhotos);
                break;
            case R.id.ac_waijian_item_finish:
                finish();
                break;
            case R.id.ac_waijian_hege_lanban:
                //合格---栏板
                showMyDialog(Constants.HEGE_LISTS, R.id.ac_waijian_hege_lanban);
                break;
            case R.id.ac_waijian_hege_luntai:
                //合格--轮胎
                showMyDialog(Constants.HEGE_LISTS, R.id.ac_waijian_hege_luntai);
                break;
            case R.id.ac_waijian_hege_cheshen:
                //合格---车身
                showMyDialog(Constants.HEGE_LISTS, R.id.ac_waijian_hege_cheshen);
                break;
            case R.id.ac_waijian_item_line:
                //检测线号
                showMyDialog(line_str, R.id.ac_waijian_item_line);
                break;
            case R.id.ac_waijian_item_shifou_quanshi:
                //是否全时/适时四驱  0-否，1-是
                showMyDialog(fou_shi_str, R.id.ac_waijian_item_shifou_quanshi);
                break;
            case R.id.ac_waijian_item_dianzi_kongzhi:
                //驻车制动是否使用电子控制装置  0-否，1-是
                String logStrf = "\n" + "----车辆特征参数---是否电子控制--点击事件---触发" + "\n";
                PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStrf.getBytes());
                showMyDialog(fou_shi_str, R.id.ac_waijian_item_dianzi_kongzhi);
                break;
            case R.id.ac_waijian_item_kongqi_xuanjia:
                //是否配备空气悬架  0-否，1-是
                showMyDialog(fou_shi_str, R.id.ac_waijian_item_kongqi_xuanjia);
                break;
            case R.id.ac_waijian_details_video:
                Intent intent_video_1 = new Intent(instances, VideoListActivity.class);
                intent_video_1.putExtra("CarDetailsActivity_CarsInforModel", carsInforModel);
                intent_video_1.putExtra("CarDetailsActivity_acCarDetailsWaijianchedao", Line);
                intent_video_1.putExtra("video_type", 1);
                intent_video_1.putExtra("CarDetailsActivity_Line", Line);
                startActivity(intent_video_1);
                break;
            case R.id.ac_waijian_item_btn_other:
                //back 返回
                finish();
                break;
            case R.id.ac_waijian_item_btn_start:
                //完成--保存数据
                String beizhu = acWaijianItemBeizhu.getText().toString().trim();
                String hege_lanban = acWaijianHegeLanban.getText().toString().trim();
                String hege_luntai = acWaijianHegeLuntai.getText().toString().trim();
                String hege_cheshen = acWaijianHegeCheshen.getText().toString().trim();

                String shifou_quanshi = acWaijianItemShifouQuanshi.getText().toString().trim();
                String shifou_dianzikongzhi = acWaijianItemDianziKongzhi.getText().toString().trim();
                String kongqi_xuanjia = acWaijianItemKongqiXuanjia.getText().toString().trim();
                String kongqi_xuanjia_zhou = acWaijianItemKongqiXuanjiaZhou.getText().toString().trim();
                String waikuo_chang = acWaijianItemWaikuoChang.getText().toString().trim();
                String waikuo_kuan = acWaijianItemWaikuoKuan.getText().toString().trim();
                String waikuo_gao = acWaijianItemWaikuoGao.getText().toString().trim();
                String zhouju = acWaijianItemZhouju.getText().toString().trim();
                String zhuanxiangzhou_shuliang = acWaijianItemZhuanxiangZhouShuliang.getText().toString().trim();
                String chexiang_lanban_gaodu = acWaijianItemChexiangLanbanGaodu.getText().toString().trim();

                String luntai_zhuanxiang_A_0 = "", luntai_zhuanxiang_A_0_1 = "",
                        luntai_zhuanxiang_A_0_2 = "", luntai_zhuanxiang_A_0_3 = "", luntai_zhuanxiang_A_0_4 = "";
                String luntai_zhuanxiang_A_1 = luntaiHuawenA1.getText().toString().trim();
                String luntai_zhuanxiang_A_2 = luntaiHuawenA2.getText().toString().trim();
                String luntai_zhuanxiang_A_3 = luntaiHuawenA3.getText().toString().trim();
                String luntai_zhuanxiang_A_4 = luntaiHuawenA4.getText().toString().trim();
                luntai_zhuanxiang_A_0_1 = !TextUtils.isEmpty(luntai_zhuanxiang_A_1) ? "A1:" + luntai_zhuanxiang_A_1 + "/" : "";
                luntai_zhuanxiang_A_0_2 = !TextUtils.isEmpty(luntai_zhuanxiang_A_2) ? "A2:" + luntai_zhuanxiang_A_2 + "/" : "";
                luntai_zhuanxiang_A_0_3 = !TextUtils.isEmpty(luntai_zhuanxiang_A_3) ? "A3:" + luntai_zhuanxiang_A_3 + "/" : "";
                luntai_zhuanxiang_A_0_4 = !TextUtils.isEmpty(luntai_zhuanxiang_A_4) ? "A4:" + luntai_zhuanxiang_A_4 + "/" : "";
                luntai_zhuanxiang_A_0 = luntai_zhuanxiang_A_0_1 + luntai_zhuanxiang_A_0_2 +
                        luntai_zhuanxiang_A_0_3 + luntai_zhuanxiang_A_0_4;

                String luntai_zhuanxiang_B_0 = "", luntai_zhuanxiang_B_0_1 = "",
                        luntai_zhuanxiang_B_0_2 = "", luntai_zhuanxiang_B_0_3 = "", luntai_zhuanxiang_B_0_4 = "";
                String luntai_zhuanxiang_B_1 = luntaiHuawenB1.getText().toString().trim();
                String luntai_zhuanxiang_B_2 = luntaiHuawenB2.getText().toString().trim();
                String luntai_zhuanxiang_B_3 = luntaiHuawenB3.getText().toString().trim();
                String luntai_zhuanxiang_B_4 = luntaiHuawenB4.getText().toString().trim();
                luntai_zhuanxiang_B_0_1 = !TextUtils.isEmpty(luntai_zhuanxiang_B_1) ? "B1:" + luntai_zhuanxiang_B_1 + "/" : "";
                luntai_zhuanxiang_B_0_2 = !TextUtils.isEmpty(luntai_zhuanxiang_B_2) ? "B2:" + luntai_zhuanxiang_B_2 + "/" : "";
                luntai_zhuanxiang_B_0_3 = !TextUtils.isEmpty(luntai_zhuanxiang_B_3) ? "B3:" + luntai_zhuanxiang_B_3 + "/" : "";
                luntai_zhuanxiang_B_0_4 = !TextUtils.isEmpty(luntai_zhuanxiang_B_4) ? "B4:" + luntai_zhuanxiang_B_4 + "/" : "";
                luntai_zhuanxiang_B_0 = luntai_zhuanxiang_B_0_1 + luntai_zhuanxiang_B_0_2 +
                        luntai_zhuanxiang_B_0_3 + luntai_zhuanxiang_B_0_4;

                String luntai_zhuanxiang_C_0 = "", luntai_zhuanxiang_C_0_1 = "",
                        luntai_zhuanxiang_C_0_2 = "", luntai_zhuanxiang_C_0_3 = "", luntai_zhuanxiang_C_0_4 = "";
                String luntai_zhuanxiang_C_1 = luntaiHuawenC1.getText().toString().trim();
                String luntai_zhuanxiang_C_2 = luntaiHuawenC2.getText().toString().trim();
                String luntai_zhuanxiang_C_3 = luntaiHuawenC3.getText().toString().trim();
                String luntai_zhuanxiang_C_4 = luntaiHuawenC4.getText().toString().trim();
                luntai_zhuanxiang_C_0_1 = !TextUtils.isEmpty(luntai_zhuanxiang_C_1) ? "C1:" + luntai_zhuanxiang_C_1 + "/" : "";
                luntai_zhuanxiang_C_0_2 = !TextUtils.isEmpty(luntai_zhuanxiang_C_2) ? "C2:" + luntai_zhuanxiang_C_2 + "/" : "";
                luntai_zhuanxiang_C_0_3 = !TextUtils.isEmpty(luntai_zhuanxiang_C_3) ? "C3:" + luntai_zhuanxiang_C_3 + "/" : "";
                luntai_zhuanxiang_C_0_4 = !TextUtils.isEmpty(luntai_zhuanxiang_C_4) ? "C4:" + luntai_zhuanxiang_C_4 + "/" : "";
                luntai_zhuanxiang_C_0 = luntai_zhuanxiang_C_0_1 + luntai_zhuanxiang_C_0_2 +
                        luntai_zhuanxiang_C_0_3 + luntai_zhuanxiang_C_0_4;

                String luntai_zhuanxiang_D_0 = "", luntai_zhuanxiang_D_0_1 = "",
                        luntai_zhuanxiang_D_0_2 = "", luntai_zhuanxiang_D_0_3 = "", luntai_zhuanxiang_D_0_4 = "";
                String luntai_zhuanxiang_D_1 = luntaiHuawenD1.getText().toString().trim();
                String luntai_zhuanxiang_D_2 = luntaiHuawenD2.getText().toString().trim();
                String luntai_zhuanxiang_D_3 = luntaiHuawenD3.getText().toString().trim();
                String luntai_zhuanxiang_D_4 = luntaiHuawenD4.getText().toString().trim();
                luntai_zhuanxiang_D_0_1 = !TextUtils.isEmpty(luntai_zhuanxiang_D_1) ? "D1:" + luntai_zhuanxiang_D_1 + "/" : "";
                luntai_zhuanxiang_D_0_2 = !TextUtils.isEmpty(luntai_zhuanxiang_D_2) ? "D2:" + luntai_zhuanxiang_D_2 + "/" : "";
                luntai_zhuanxiang_D_0_3 = !TextUtils.isEmpty(luntai_zhuanxiang_D_3) ? "D3:" + luntai_zhuanxiang_D_3 + "/" : "";
                luntai_zhuanxiang_D_0_4 = !TextUtils.isEmpty(luntai_zhuanxiang_D_4) ? "D4:" + luntai_zhuanxiang_D_4 + "/" : "";
                luntai_zhuanxiang_D_0 = luntai_zhuanxiang_D_0_1 + luntai_zhuanxiang_D_0_2 +
                        luntai_zhuanxiang_D_0_3 + luntai_zhuanxiang_D_0_4;

                String luntai_zhuanxiang_E_0 = "", luntai_zhuanxiang_E_0_1 = "",
                        luntai_zhuanxiang_E_0_2 = "", luntai_zhuanxiang_E_0_3 = "", luntai_zhuanxiang_E_0_4 = "";
                String luntai_zhuanxiang_E_1 = luntaiHuawenE1.getText().toString().trim();
                String luntai_zhuanxiang_E_2 = luntaiHuawenE2.getText().toString().trim();
                String luntai_zhuanxiang_E_3 = luntaiHuawenE3.getText().toString().trim();
                String luntai_zhuanxiang_E_4 = luntaiHuawenE4.getText().toString().trim();
                luntai_zhuanxiang_E_0_1 = !TextUtils.isEmpty(luntai_zhuanxiang_E_1) ? "E1:" + luntai_zhuanxiang_E_1 + "/" : "";
                luntai_zhuanxiang_E_0_2 = !TextUtils.isEmpty(luntai_zhuanxiang_E_2) ? "E2:" + luntai_zhuanxiang_E_2 + "/" : "";
                luntai_zhuanxiang_E_0_3 = !TextUtils.isEmpty(luntai_zhuanxiang_E_3) ? "E3:" + luntai_zhuanxiang_E_3 + "/" : "";
                luntai_zhuanxiang_E_0_4 = !TextUtils.isEmpty(luntai_zhuanxiang_E_4) ? "E4:" + luntai_zhuanxiang_E_4 + "/" : "";
                luntai_zhuanxiang_E_0 = luntai_zhuanxiang_E_0_1 + luntai_zhuanxiang_E_0_2 +
                        luntai_zhuanxiang_E_0_3 + luntai_zhuanxiang_E_0_4;

                String luntai_zhuanxiang_F_0 = "", luntai_zhuanxiang_F_0_1 = "",
                        luntai_zhuanxiang_F_0_2 = "", luntai_zhuanxiang_F_0_3 = "", luntai_zhuanxiang_F_0_4 = "";
                String luntai_zhuanxiang_F_1 = luntaiHuawenF1.getText().toString().trim();
                String luntai_zhuanxiang_F_2 = luntaiHuawenF2.getText().toString().trim();
                String luntai_zhuanxiang_F_3 = luntaiHuawenF3.getText().toString().trim();
                String luntai_zhuanxiang_F_4 = luntaiHuawenF4.getText().toString().trim();
                luntai_zhuanxiang_F_0_1 = !TextUtils.isEmpty(luntai_zhuanxiang_F_1) ? "F1:" + luntai_zhuanxiang_F_1 + "/" : "";
                luntai_zhuanxiang_F_0_2 = !TextUtils.isEmpty(luntai_zhuanxiang_F_2) ? "F2:" + luntai_zhuanxiang_F_2 + "/" : "";
                luntai_zhuanxiang_F_0_3 = !TextUtils.isEmpty(luntai_zhuanxiang_F_3) ? "F3:" + luntai_zhuanxiang_F_3 + "/" : "";
                luntai_zhuanxiang_F_0_4 = !TextUtils.isEmpty(luntai_zhuanxiang_F_4) ? "F4:" + luntai_zhuanxiang_F_4 + "/" : "";
                luntai_zhuanxiang_F_0 = luntai_zhuanxiang_F_0_1 + luntai_zhuanxiang_F_0_2 +
                        luntai_zhuanxiang_F_0_3 + luntai_zhuanxiang_F_0_4;

                UtilsLog.e(" luntai_zhuanxiang_A_0==" + luntai_zhuanxiang_A_0 + "===" +
                        " luntai_zhuanxiang_B_0==" + luntai_zhuanxiang_B_0 + "===" +
                        " luntai_zhuanxiang_C_0==" + luntai_zhuanxiang_C_0 + "===" +
                        " luntai_zhuanxiang_D_0==" + luntai_zhuanxiang_D_0 + "===" +
                        " luntai_zhuanxiang_E_0==" + luntai_zhuanxiang_E_0 + "===" +
                        " luntai_zhuanxiang_F_0==" + luntai_zhuanxiang_F_0);
                String luntai_qita_A_0 = "", luntai_qita_A_0_1 = "",
                        luntai_qita_A_0_2 = "", luntai_qita_A_0_3 = "", luntai_qita_A_0_4 = "";
                String luntai_qita_A_1 = otherLuntaiHuawenA1.getText().toString().trim();
                String luntai_qita_A_2 = otherLuntaiHuawenA2.getText().toString().trim();
                String luntai_qita_A_3 = otherLuntaiHuawenA3.getText().toString().trim();
                String luntai_qita_A_4 = otherLuntaiHuawenA4.getText().toString().trim();
                luntai_qita_A_0_1 = !TextUtils.isEmpty(luntai_qita_A_1) ? "A1:" + luntai_qita_A_1 + "/" : "";
                luntai_qita_A_0_2 = !TextUtils.isEmpty(luntai_qita_A_2) ? "A2:" + luntai_qita_A_2 + "/" : "";
                luntai_qita_A_0_3 = !TextUtils.isEmpty(luntai_qita_A_3) ? "A3:" + luntai_qita_A_3 + "/" : "";
                luntai_qita_A_0_4 = !TextUtils.isEmpty(luntai_qita_A_4) ? "A4:" + luntai_qita_A_4 + "/" : "";
                luntai_qita_A_0 = luntai_qita_A_0_1 + luntai_qita_A_0_2 +
                        luntai_qita_A_0_3 + luntai_qita_A_0_4;

                String luntai_qita_B_0 = "", luntai_qita_B_0_1 = "",
                        luntai_qita_B_0_2 = "", luntai_qita_B_0_3 = "", luntai_qita_B_0_4 = "";
                String luntai_qita_B_1 = otherLuntaiHuawenB1.getText().toString().trim();
                String luntai_qita_B_2 = otherLuntaiHuawenB2.getText().toString().trim();
                String luntai_qita_B_3 = otherLuntaiHuawenB3.getText().toString().trim();
                String luntai_qita_B_4 = otherLuntaiHuawenB4.getText().toString().trim();
                luntai_qita_B_0_1 = !TextUtils.isEmpty(luntai_qita_B_1) ? "B1:" + luntai_qita_B_1 + "/" : "";
                luntai_qita_B_0_2 = !TextUtils.isEmpty(luntai_qita_B_2) ? "B2:" + luntai_qita_B_2 + "/" : "";
                luntai_qita_B_0_3 = !TextUtils.isEmpty(luntai_qita_B_3) ? "B3:" + luntai_qita_B_3 + "/" : "";
                luntai_qita_B_0_4 = !TextUtils.isEmpty(luntai_qita_B_4) ? "B4:" + luntai_qita_B_4 + "/" : "";
                luntai_qita_B_0 = luntai_qita_B_0_1 + luntai_qita_B_0_2 +
                        luntai_qita_B_0_3 + luntai_qita_B_0_4;

                String luntai_qita_C_0 = "", luntai_qita_C_0_1 = "",
                        luntai_qita_C_0_2 = "", luntai_qita_C_0_3 = "", luntai_qita_C_0_4 = "";
                String luntai_qita_C_1 = otherLuntaiHuawenC1.getText().toString().trim();
                String luntai_qita_C_2 = otherLuntaiHuawenC2.getText().toString().trim();
                String luntai_qita_C_3 = otherLuntaiHuawenC3.getText().toString().trim();
                String luntai_qita_C_4 = otherLuntaiHuawenC4.getText().toString().trim();
                luntai_qita_C_0_1 = !TextUtils.isEmpty(luntai_qita_C_1) ? "C1:" + luntai_qita_C_1 + "/" : "";
                luntai_qita_C_0_2 = !TextUtils.isEmpty(luntai_qita_C_2) ? "C2:" + luntai_qita_C_2 + "/" : "";
                luntai_qita_C_0_3 = !TextUtils.isEmpty(luntai_qita_C_3) ? "C3:" + luntai_qita_C_3 + "/" : "";
                luntai_qita_C_0_4 = !TextUtils.isEmpty(luntai_qita_C_4) ? "C4:" + luntai_qita_C_4 + "/" : "";
                luntai_qita_C_0 = luntai_qita_C_0_1 + luntai_qita_C_0_2 +
                        luntai_qita_C_0_3 + luntai_qita_C_0_4;

                String luntai_qita_D_0 = "", luntai_qita_D_0_1 = "",
                        luntai_qita_D_0_2 = "", luntai_qita_D_0_3 = "", luntai_qita_D_0_4 = "";
                String luntai_qita_D_1 = otherLuntaiHuawenD1.getText().toString().trim();
                String luntai_qita_D_2 = otherLuntaiHuawenD2.getText().toString().trim();
                String luntai_qita_D_3 = otherLuntaiHuawenD3.getText().toString().trim();
                String luntai_qita_D_4 = otherLuntaiHuawenD4.getText().toString().trim();
                luntai_qita_D_0_1 = !TextUtils.isEmpty(luntai_qita_D_1) ? "D1:" + luntai_qita_D_1 + "/" : "";
                luntai_qita_D_0_2 = !TextUtils.isEmpty(luntai_qita_D_2) ? "D2:" + luntai_qita_D_2 + "/" : "";
                luntai_qita_D_0_3 = !TextUtils.isEmpty(luntai_qita_D_3) ? "D3:" + luntai_qita_D_3 + "/" : "";
                luntai_qita_D_0_4 = !TextUtils.isEmpty(luntai_qita_D_4) ? "D4:" + luntai_qita_D_4 + "/" : "";
                luntai_qita_D_0 = luntai_qita_D_0_1 + luntai_qita_D_0_2 +
                        luntai_qita_D_0_3 + luntai_qita_D_0_4;

                String luntai_qita_E_0 = "", luntai_qita_E_0_1 = "",
                        luntai_qita_E_0_2 = "", luntai_qita_E_0_3 = "", luntai_qita_E_0_4 = "";
                String luntai_qita_E_1 = otherLuntaiHuawenE1.getText().toString().trim();
                String luntai_qita_E_2 = otherLuntaiHuawenE2.getText().toString().trim();
                String luntai_qita_E_3 = otherLuntaiHuawenE3.getText().toString().trim();
                String luntai_qita_E_4 = otherLuntaiHuawenE4.getText().toString().trim();
                luntai_qita_E_0_1 = !TextUtils.isEmpty(luntai_qita_E_1) ? "E1:" + luntai_qita_E_1 + "/" : "";
                luntai_qita_E_0_2 = !TextUtils.isEmpty(luntai_qita_E_2) ? "E2:" + luntai_qita_E_2 + "/" : "";
                luntai_qita_E_0_3 = !TextUtils.isEmpty(luntai_qita_E_3) ? "E3:" + luntai_qita_E_3 + "/" : "";
                luntai_qita_E_0_4 = !TextUtils.isEmpty(luntai_qita_E_4) ? "E4:" + luntai_qita_E_4 + "/" : "";
                luntai_qita_E_0 = luntai_qita_E_0_1 + luntai_qita_E_0_2 +
                        luntai_qita_E_0_3 + luntai_qita_E_0_4;

                String luntai_qita_F_0 = "", luntai_qita_F_0_1 = "",
                        luntai_qita_F_0_2 = "", luntai_qita_F_0_3 = "", luntai_qita_F_0_4 = "";
                String luntai_qita_F_1 = otherLuntaiHuawenF1.getText().toString().trim();
                String luntai_qita_F_2 = otherLuntaiHuawenF2.getText().toString().trim();
                String luntai_qita_F_3 = otherLuntaiHuawenF3.getText().toString().trim();
                String luntai_qita_F_4 = otherLuntaiHuawenF4.getText().toString().trim();
                luntai_qita_F_0_1 = !TextUtils.isEmpty(luntai_qita_F_1) ? "F1:" + luntai_qita_F_1 + "/" : "";
                luntai_qita_F_0_2 = !TextUtils.isEmpty(luntai_qita_F_2) ? "F2:" + luntai_qita_F_2 + "/" : "";
                luntai_qita_F_0_3 = !TextUtils.isEmpty(luntai_qita_F_3) ? "F3:" + luntai_qita_F_3 + "/" : "";
                luntai_qita_F_0_4 = !TextUtils.isEmpty(luntai_qita_F_4) ? "F4:" + luntai_qita_F_4 + "/" : "";
                luntai_qita_F_0 = luntai_qita_F_0_1 + luntai_qita_F_0_2 +
                        luntai_qita_F_0_3 + luntai_qita_F_0_4;
                UtilsLog.e(" luntai_qita_A_0==" + luntai_qita_A_0 + "===" +
                        " luntai_qita_B_0==" + luntai_qita_B_0 + "===" +
                        " luntai_qita_C_0==" + luntai_qita_C_0 + "===" +
                        " luntai_qita_D_0==" + luntai_qita_D_0 + "===" +
                        " luntai_qita_E_0==" + luntai_qita_E_0 + "===" +
                        " luntai_qita_F_0==" + luntai_qita_F_0);


                String luntai_gua_A_0 = "", luntai_gua_A_0_1 = "",
                        luntai_gua_A_0_2 = "", luntai_gua_A_0_3 = "", luntai_gua_A_0_4 = "";
                String luntai_gua_A_1 = guaLuntaiHuawenA1.getText().toString().trim();
                String luntai_gua_A_2 = guaLuntaiHuawenA2.getText().toString().trim();
                String luntai_gua_A_3 = guaLuntaiHuawenA3.getText().toString().trim();
                String luntai_gua_A_4 = guaLuntaiHuawenA4.getText().toString().trim();
                luntai_gua_A_0_1 = !TextUtils.isEmpty(luntai_gua_A_1) ? "A1:" + luntai_gua_A_1 + "/" : "";
                luntai_gua_A_0_2 = !TextUtils.isEmpty(luntai_gua_A_2) ? "A2:" + luntai_gua_A_2 + "/" : "";
                luntai_gua_A_0_3 = !TextUtils.isEmpty(luntai_gua_A_3) ? "A3:" + luntai_gua_A_3 + "/" : "";
                luntai_gua_A_0_4 = !TextUtils.isEmpty(luntai_gua_A_4) ? "A4:" + luntai_gua_A_4 + "/" : "";
                luntai_gua_A_0 = luntai_gua_A_0_1 + luntai_gua_A_0_2 +
                        luntai_gua_A_0_3 + luntai_gua_A_0_4;

                String luntai_gua_B_0 = "", luntai_gua_B_0_1 = "",
                        luntai_gua_B_0_2 = "", luntai_gua_B_0_3 = "", luntai_gua_B_0_4 = "";
                String luntai_gua_B_1 = guaLuntaiHuawenB1.getText().toString().trim();
                String luntai_gua_B_2 = guaLuntaiHuawenB2.getText().toString().trim();
                String luntai_gua_B_3 = guaLuntaiHuawenB3.getText().toString().trim();
                String luntai_gua_B_4 = guaLuntaiHuawenB4.getText().toString().trim();
                luntai_gua_B_0_1 = !TextUtils.isEmpty(luntai_gua_B_1) ? "B1:" + luntai_gua_B_1 + "/" : "";
                luntai_gua_B_0_2 = !TextUtils.isEmpty(luntai_gua_B_2) ? "B2:" + luntai_gua_B_2 + "/" : "";
                luntai_gua_B_0_3 = !TextUtils.isEmpty(luntai_gua_B_3) ? "B3:" + luntai_gua_B_3 + "/" : "";
                luntai_gua_B_0_4 = !TextUtils.isEmpty(luntai_gua_B_4) ? "B4:" + luntai_gua_B_4 + "/" : "";
                luntai_gua_B_0 = luntai_gua_B_0_1 + luntai_gua_B_0_2 +
                        luntai_gua_B_0_3 + luntai_gua_B_0_4;

                String luntai_gua_C_0 = "", luntai_gua_C_0_1 = "",
                        luntai_gua_C_0_2 = "", luntai_gua_C_0_3 = "", luntai_gua_C_0_4 = "";
                String luntai_gua_C_1 = guaLuntaiHuawenC1.getText().toString().trim();
                String luntai_gua_C_2 = guaLuntaiHuawenC2.getText().toString().trim();
                String luntai_gua_C_3 = guaLuntaiHuawenC3.getText().toString().trim();
                String luntai_gua_C_4 = guaLuntaiHuawenC4.getText().toString().trim();
                luntai_gua_C_0_1 = !TextUtils.isEmpty(luntai_gua_C_1) ? "C1:" + luntai_gua_C_1 + "/" : "";
                luntai_gua_C_0_2 = !TextUtils.isEmpty(luntai_gua_C_2) ? "C2:" + luntai_gua_C_2 + "/" : "";
                luntai_gua_C_0_3 = !TextUtils.isEmpty(luntai_gua_C_3) ? "C3:" + luntai_gua_C_3 + "/" : "";
                luntai_gua_C_0_4 = !TextUtils.isEmpty(luntai_gua_C_4) ? "C4:" + luntai_gua_C_4 + "/" : "";
                luntai_gua_C_0 = luntai_gua_C_0_1 + luntai_gua_C_0_2 +
                        luntai_gua_C_0_3 + luntai_gua_C_0_4;

                String luntai_gua_D_0 = "", luntai_gua_D_0_1 = "",
                        luntai_gua_D_0_2 = "", luntai_gua_D_0_3 = "", luntai_gua_D_0_4 = "";
                String luntai_gua_D_1 = guaLuntaiHuawenD1.getText().toString().trim();
                String luntai_gua_D_2 = guaLuntaiHuawenD2.getText().toString().trim();
                String luntai_gua_D_3 = guaLuntaiHuawenD3.getText().toString().trim();
                String luntai_gua_D_4 = guaLuntaiHuawenD4.getText().toString().trim();
                luntai_gua_D_0_1 = !TextUtils.isEmpty(luntai_gua_D_1) ? "D1:" + luntai_gua_D_1 + "/" : "";
                luntai_gua_D_0_2 = !TextUtils.isEmpty(luntai_gua_D_2) ? "D2:" + luntai_gua_D_2 + "/" : "";
                luntai_gua_D_0_3 = !TextUtils.isEmpty(luntai_gua_D_3) ? "D3:" + luntai_gua_D_3 + "/" : "";
                luntai_gua_D_0_4 = !TextUtils.isEmpty(luntai_gua_D_4) ? "D4:" + luntai_gua_D_4 + "/" : "";
                luntai_gua_D_0 = luntai_gua_D_0_1 + luntai_gua_D_0_2 +
                        luntai_gua_D_0_3 + luntai_gua_D_0_4;

                String luntai_gua_E_0 = "", luntai_gua_E_0_1 = "",
                        luntai_gua_E_0_2 = "", luntai_gua_E_0_3 = "", luntai_gua_E_0_4 = "";
                String luntai_gua_E_1 = guaLuntaiHuawenE1.getText().toString().trim();
                String luntai_gua_E_2 = guaLuntaiHuawenE2.getText().toString().trim();
                String luntai_gua_E_3 = guaLuntaiHuawenE3.getText().toString().trim();
                String luntai_gua_E_4 = guaLuntaiHuawenE4.getText().toString().trim();
                luntai_gua_E_0_1 = !TextUtils.isEmpty(luntai_gua_E_1) ? "E1:" + luntai_gua_E_1 + "/" : "";
                luntai_gua_E_0_2 = !TextUtils.isEmpty(luntai_gua_E_2) ? "E2:" + luntai_gua_E_2 + "/" : "";
                luntai_gua_E_0_3 = !TextUtils.isEmpty(luntai_gua_E_3) ? "E3:" + luntai_gua_E_3 + "/" : "";
                luntai_gua_E_0_4 = !TextUtils.isEmpty(luntai_gua_E_4) ? "E4:" + luntai_gua_E_4 + "/" : "";
                luntai_gua_E_0 = luntai_gua_E_0_1 + luntai_gua_E_0_2 +
                        luntai_gua_E_0_3 + luntai_gua_E_0_4;

                String luntai_gua_F_0 = "", luntai_gua_F_0_1 = "",
                        luntai_gua_F_0_2 = "", luntai_gua_F_0_3 = "", luntai_gua_F_0_4 = "";
                String luntai_gua_F_1 = guaLuntaiHuawenF1.getText().toString().trim();
                String luntai_gua_F_2 = guaLuntaiHuawenF2.getText().toString().trim();
                String luntai_gua_F_3 = guaLuntaiHuawenF3.getText().toString().trim();
                String luntai_gua_F_4 = guaLuntaiHuawenF4.getText().toString().trim();
                luntai_gua_F_0_1 = !TextUtils.isEmpty(luntai_gua_F_1) ? "F1:" + luntai_gua_F_1 + "/" : "";
                luntai_gua_F_0_2 = !TextUtils.isEmpty(luntai_gua_F_2) ? "F2:" + luntai_gua_F_2 + "/" : "";
                luntai_gua_F_0_3 = !TextUtils.isEmpty(luntai_gua_F_3) ? "F3:" + luntai_gua_F_3 + "/" : "";
                luntai_gua_F_0_4 = !TextUtils.isEmpty(luntai_gua_F_4) ? "F4:" + luntai_gua_F_4 + "/" : "";
                luntai_gua_F_0 = luntai_gua_F_0_1 + luntai_gua_F_0_2 +
                        luntai_gua_F_0_3 + luntai_gua_F_0_4;
                UtilsLog.e(" luntai_gua_A_0==" + luntai_gua_A_0 + "===" +
                        " luntai_gua_B_0==" + luntai_gua_B_0 + "===" +
                        " luntai_gua_C_0==" + luntai_gua_C_0 + "===" +
                        " luntai_gua_D_0==" + luntai_gua_D_0 + "===" +
                        " luntai_gua_E_0==" + luntai_gua_E_0 + "===" +
                        " luntai_gua_F_0==" + luntai_gua_F_0);

                String danche_zhuanxianglun_luntai_huawen_shendu = luntai_zhuanxiang_A_0 + luntai_zhuanxiang_B_0 +
                        luntai_zhuanxiang_C_0 + luntai_zhuanxiang_D_0 +
                        luntai_zhuanxiang_E_0 + luntai_zhuanxiang_F_0;
                String danche_qta_luntai_huawen_shendu = luntai_qita_A_0 + luntai_qita_B_0 +
                        luntai_qita_C_0 + luntai_qita_D_0 + luntai_qita_E_0 + luntai_qita_F_0;
                String guache_luntai_huanwen_shendu = luntai_gua_A_0 + luntai_gua_B_0 +
                        luntai_gua_C_0 + luntai_gua_D_0 + luntai_gua_E_0 + luntai_gua_F_0;
//                String danche_zhuanxianglun_luntai_huawen_shendu = acWaijianItemDancheZhuanxianglunLuntaiHuawenShendu.getText().toString().trim();
//                String danche_qta_luntai_huawen_shendu = acWaijianItemDancheQitaLuntaiHuawenShendu.getText().toString().trim();
//                String guache_luntai_huanwen_shendu = acWaijianItemGuacheLuntaiHuawenShendu.getText().toString().trim();


                String diyizhou_zuogaodu = acWaijianItemDiyizhouZuogaodu.getText().toString().trim();
                String diyizhou_yougaodu = acWaijianItemDiyizhouYougaodu.getText().toString().trim();
                String diyizhou_zuoyou_gaodu = acWaijianItemDiyizhouZuoyouGaoducha.getText().toString().trim();
                String zuihouzhou_zuo_gaodu = acWaijianItemZuihouzhouZuoGaodu.getText().toString().trim();
                String zuihouzhou_you_gaodu = acWaijianItemZuihouzhouYouGaodu.getText().toString().trim();
                String zuihouzhou_zuoyou_gaodu = acWaijianItemZuihouzhouZuoyouGaoducha.getText().toString().trim();
                String desc = acWaijianItemDesc.getText().toString().trim();
                String gua_che_lanban_gaodu = acWaijianItemGuaChexiangLanbanGaodu.getText().toString().trim();
                String gua_che_zuo_gaodu = acWaijianItemGuaZuoGaoducha.getText().toString().trim();
                String gua_che_you_gaodu = acWaijianItemYouGaoducha.getText().toString().trim();
                String gua_che_gaodu_gaoducha = acWaijianItemGuaGaoduchaGaoducha.getText().toString().trim();

//                WaiJianItemModel model = new WaiJianItemModel();
                List<WaiJianItemModel> waiJianItemModelList = WaiJianItemModel.find(WaiJianItemModel.class, "SN=?", carsInforModel.getSN());
                if (waiJianItemModelList != null && waiJianItemModelList.size() > 0) {
                    UtilsLog.e("waiJianItemModelList==车辆特征参数=" + waiJianItemModelList.toString());
                    WaiJianItemModel model = waiJianItemModelList.get(waiJianItemModelList.size() - 1);
                    if (model != null) {
                        model.setCar_no(carsInforModel.getPlateRegion() + carsInforModel.getPlateNO());
                        model.setSN(carsInforModel.getSN());
                        model.setRemark(beizhu);
                        model.setZhuanxiangzhou(zhuanxiangzhou_shuliang);
                        model.setHege_cheshen(hege_cheshen);
                        model.setHege_lanban(hege_lanban);
                        model.setHege_luntai(hege_luntai);
                        model.setShifouQuanshi(shifou_quanshi.equals("") ? "" : shifou_quanshi);
                        model.setShifouDianzikongzhi(shifou_dianzikongzhi.equals("") ? "" : shifou_dianzikongzhi);
                        model.setKongqiXuanjia(kongqi_xuanjia.equals("") ? "" : kongqi_xuanjia);
                        model.setKongqiXuanjiaZhou(kongqi_xuanjia_zhou.equals("") ? "" : kongqi_xuanjia_zhou);
                        model.setWaikuoChang(waikuo_chang.equals("") ? "" : waikuo_chang);
                        model.setWaikuoKuan(waikuo_kuan.equals("") ? "" : waikuo_kuan);
                        model.setWaikuoGao(waikuo_gao.equals("") ? "" : waikuo_gao);
                        model.setZhouju(zhouju.equals("") ? "" : zhouju);
                        model.setChexiangLanbanGaodu(chexiang_lanban_gaodu.equals("") ? "" : chexiang_lanban_gaodu);

                        model.setDancheZhuanxianglunLuntaiHuawenShendu(!TextUtils.isEmpty(danche_zhuanxianglun_luntai_huawen_shendu) ? danche_zhuanxianglun_luntai_huawen_shendu.substring(0, danche_zhuanxianglun_luntai_huawen_shendu.length() - 1) : "");

                        model.setDancheQtaLuntaiHuawenShendu(!TextUtils.isEmpty(danche_qta_luntai_huawen_shendu) ? danche_qta_luntai_huawen_shendu.substring(0, danche_qta_luntai_huawen_shendu.length() - 1) : "");

                        model.setGuacheLuntaiHuanwenShendu(!TextUtils.isEmpty(guache_luntai_huanwen_shendu) ? guache_luntai_huanwen_shendu.substring(0, guache_luntai_huanwen_shendu.length() - 1) : "");

                        model.setDiyizhouZuogaodu(diyizhou_zuogaodu.equals("") ? "" : diyizhou_zuogaodu);
                        model.setDiyizhouYougaodu(diyizhou_yougaodu.equals("") ? "" : diyizhou_yougaodu);
                        model.setDiyizhouZuoyouGaodu(diyizhou_zuoyou_gaodu.equals("") ? "" : diyizhou_zuoyou_gaodu);
                        model.setZuihouzhouZuoGaodu(zuihouzhou_zuo_gaodu.equals("") ? "" : zuihouzhou_zuo_gaodu);
                        model.setZuihouzhouYouGaodu(zuihouzhou_you_gaodu.equals("") ? "" : zuihouzhou_you_gaodu);
                        model.setZuihouzhouZuoyouGaodu(zuihouzhou_zuoyou_gaodu.equals("") ? "" : zuihouzhou_zuoyou_gaodu);
                        model.setDesc(desc.equals("") ? "" : desc);
                        model.setF1ResultNote(desc.equals("") ? "" : desc);
                        model.setGuaCheLanbanGaodu(gua_che_lanban_gaodu.equals("") ? "" : gua_che_lanban_gaodu);
                        model.setGuaCheZuoGaodu(gua_che_zuo_gaodu.equals("") ? "" : gua_che_zuo_gaodu);
                        model.setGuaCheYouGaodu(gua_che_you_gaodu.equals("") ? "" : gua_che_you_gaodu);
                        model.setGuaCheGaoduGaoducha(gua_che_gaodu_gaoducha.equals("") ? "" : gua_che_gaodu_gaoducha);
                        model.save();
                        UtilsLog.e("外检项目--本地数据库有数据保存---===" + model.getShifouDianzikongzhi());
                        String logStr = "\n" + "外检项目--本地数据库有数据保存---" + "\n" +
                                "model::" + model.toString() + "\n" + "shifou_dianzikongzhi::" + shifou_dianzikongzhi + "\n";
                        PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr.getBytes());
                        UtilsLog.e(logStr);
                    }
                } else {
                    UtilsLog.e("waiJianItemModelList===null");
                    WaiJianItemModel model = new WaiJianItemModel();
                    model.setCar_no(carsInforModel.getPlateRegion() + carsInforModel.getPlateNO());
                    model.setSN(carsInforModel.getSN());
                    model.setRemark(beizhu);
                    model.setZhuanxiangzhou(zhuanxiangzhou_shuliang);
                    model.setHege_cheshen(hege_cheshen);
                    model.setHege_lanban(hege_lanban);
                    model.setHege_luntai(hege_luntai);
                    model.setShifouQuanshi(shifou_quanshi.equals("") ? "" : shifou_quanshi);
                    model.setShifouDianzikongzhi(shifou_dianzikongzhi.equals("") ? "" : shifou_dianzikongzhi);
                    model.setKongqiXuanjia(kongqi_xuanjia.equals("") ? "" : kongqi_xuanjia);
                    model.setKongqiXuanjiaZhou(kongqi_xuanjia_zhou.equals("") ? "" : kongqi_xuanjia_zhou);
                    model.setWaikuoChang(waikuo_chang.equals("") ? "" : waikuo_chang);
                    model.setWaikuoKuan(waikuo_kuan.equals("") ? "" : waikuo_kuan);
                    model.setWaikuoGao(waikuo_gao.equals("") ? "" : waikuo_gao);
                    model.setZhouju(zhouju.equals("") ? "" : zhouju);
                    model.setChexiangLanbanGaodu(chexiang_lanban_gaodu.equals("") ? "" : chexiang_lanban_gaodu);

                    model.setDancheZhuanxianglunLuntaiHuawenShendu(!TextUtils.isEmpty(danche_zhuanxianglun_luntai_huawen_shendu) ? danche_zhuanxianglun_luntai_huawen_shendu.substring(0, danche_zhuanxianglun_luntai_huawen_shendu.length() - 1) : "");

                    model.setDancheQtaLuntaiHuawenShendu(!TextUtils.isEmpty(danche_qta_luntai_huawen_shendu) ? danche_qta_luntai_huawen_shendu.substring(0, danche_qta_luntai_huawen_shendu.length() - 1) : "");

                    model.setGuacheLuntaiHuanwenShendu(!TextUtils.isEmpty(guache_luntai_huanwen_shendu) ? guache_luntai_huanwen_shendu.substring(0, guache_luntai_huanwen_shendu.length() - 1) : "");

                    model.setDiyizhouZuogaodu(diyizhou_zuogaodu.equals("") ? "" : diyizhou_zuogaodu);
                    model.setDiyizhouYougaodu(diyizhou_yougaodu.equals("") ? "" : diyizhou_yougaodu);
                    model.setDiyizhouZuoyouGaodu(diyizhou_zuoyou_gaodu.equals("") ? "" : diyizhou_zuoyou_gaodu);
                    model.setZuihouzhouZuoGaodu(zuihouzhou_zuo_gaodu.equals("") ? "" : zuihouzhou_zuo_gaodu);
                    model.setZuihouzhouYouGaodu(zuihouzhou_you_gaodu.equals("") ? "" : zuihouzhou_you_gaodu);
                    model.setZuihouzhouZuoyouGaodu(zuihouzhou_zuoyou_gaodu.equals("") ? "" : zuihouzhou_zuoyou_gaodu);
                    model.setDesc(desc.equals("") ? "" : desc);
                    model.setF1ResultNote(desc.equals("") ? "" : desc);
                    model.setGuaCheLanbanGaodu(gua_che_lanban_gaodu.equals("") ? "" : gua_che_lanban_gaodu);
                    model.setGuaCheZuoGaodu(gua_che_zuo_gaodu.equals("") ? "" : gua_che_zuo_gaodu);
                    model.setGuaCheYouGaodu(gua_che_you_gaodu.equals("") ? "" : gua_che_you_gaodu);
                    model.setGuaCheGaoduGaoducha(gua_che_gaodu_gaoducha.equals("") ? "" : gua_che_gaodu_gaoducha);
                    model.save();
                    String logStr = "\n" + "外检项目--本地数据库保存--waiJianItemModelList===null-" + "\n" +
                            "model::" + model.toString() + "\n" + "shifou_dianzikongzhi::" + shifou_dianzikongzhi + "\n";
                    PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr.getBytes());
                    UtilsLog.e(logStr);
                }
                finish();
//                }
//                initJsonDataToPlateform();
                break;
        }
    }

    // 复检有数据的情况下，进入页面未操作时，先保存一遍数据
    private void saveData() {
        //完成--保存数据
        String beizhu = acWaijianItemBeizhu.getText().toString().trim();
        String hege_lanban = acWaijianHegeLanban.getText().toString().trim();
        String hege_luntai = acWaijianHegeLuntai.getText().toString().trim();
        String hege_cheshen = acWaijianHegeCheshen.getText().toString().trim();

        String shifou_quanshi = acWaijianItemShifouQuanshi.getText().toString().trim();
        String shifou_dianzikongzhi = acWaijianItemDianziKongzhi.getText().toString().trim();
        String kongqi_xuanjia = acWaijianItemKongqiXuanjia.getText().toString().trim();
        String kongqi_xuanjia_zhou = acWaijianItemKongqiXuanjiaZhou.getText().toString().trim();
        String waikuo_chang = acWaijianItemWaikuoChang.getText().toString().trim();
        String waikuo_kuan = acWaijianItemWaikuoKuan.getText().toString().trim();
        String waikuo_gao = acWaijianItemWaikuoGao.getText().toString().trim();
        String zhouju = acWaijianItemZhouju.getText().toString().trim();
        String zhuanxiangzhou_shuliang = acWaijianItemZhuanxiangZhouShuliang.getText().toString().trim();
        String chexiang_lanban_gaodu = acWaijianItemChexiangLanbanGaodu.getText().toString().trim();

        String luntai_zhuanxiang_A_0 = "", luntai_zhuanxiang_A_0_1 = "",
                luntai_zhuanxiang_A_0_2 = "", luntai_zhuanxiang_A_0_3 = "", luntai_zhuanxiang_A_0_4 = "";
        String luntai_zhuanxiang_A_1 = luntaiHuawenA1.getText().toString().trim();
        String luntai_zhuanxiang_A_2 = luntaiHuawenA2.getText().toString().trim();
        String luntai_zhuanxiang_A_3 = luntaiHuawenA3.getText().toString().trim();
        String luntai_zhuanxiang_A_4 = luntaiHuawenA4.getText().toString().trim();
        luntai_zhuanxiang_A_0_1 = !TextUtils.isEmpty(luntai_zhuanxiang_A_1) ? "A1:" + luntai_zhuanxiang_A_1 + "/" : "";
        luntai_zhuanxiang_A_0_2 = !TextUtils.isEmpty(luntai_zhuanxiang_A_2) ? "A2:" + luntai_zhuanxiang_A_2 + "/" : "";
        luntai_zhuanxiang_A_0_3 = !TextUtils.isEmpty(luntai_zhuanxiang_A_3) ? "A3:" + luntai_zhuanxiang_A_3 + "/" : "";
        luntai_zhuanxiang_A_0_4 = !TextUtils.isEmpty(luntai_zhuanxiang_A_4) ? "A4:" + luntai_zhuanxiang_A_4 + "/" : "";
        luntai_zhuanxiang_A_0 = luntai_zhuanxiang_A_0_1 + luntai_zhuanxiang_A_0_2 +
                luntai_zhuanxiang_A_0_3 + luntai_zhuanxiang_A_0_4;

        String luntai_zhuanxiang_B_0 = "", luntai_zhuanxiang_B_0_1 = "",
                luntai_zhuanxiang_B_0_2 = "", luntai_zhuanxiang_B_0_3 = "", luntai_zhuanxiang_B_0_4 = "";
        String luntai_zhuanxiang_B_1 = luntaiHuawenB1.getText().toString().trim();
        String luntai_zhuanxiang_B_2 = luntaiHuawenB2.getText().toString().trim();
        String luntai_zhuanxiang_B_3 = luntaiHuawenB3.getText().toString().trim();
        String luntai_zhuanxiang_B_4 = luntaiHuawenB4.getText().toString().trim();
        luntai_zhuanxiang_B_0_1 = !TextUtils.isEmpty(luntai_zhuanxiang_B_1) ? "B1:" + luntai_zhuanxiang_B_1 + "/" : "";
        luntai_zhuanxiang_B_0_2 = !TextUtils.isEmpty(luntai_zhuanxiang_B_2) ? "B2:" + luntai_zhuanxiang_B_2 + "/" : "";
        luntai_zhuanxiang_B_0_3 = !TextUtils.isEmpty(luntai_zhuanxiang_B_3) ? "B3:" + luntai_zhuanxiang_B_3 + "/" : "";
        luntai_zhuanxiang_B_0_4 = !TextUtils.isEmpty(luntai_zhuanxiang_B_4) ? "B4:" + luntai_zhuanxiang_B_4 + "/" : "";
        luntai_zhuanxiang_B_0 = luntai_zhuanxiang_B_0_1 + luntai_zhuanxiang_B_0_2 +
                luntai_zhuanxiang_B_0_3 + luntai_zhuanxiang_B_0_4;

        String luntai_zhuanxiang_C_0 = "", luntai_zhuanxiang_C_0_1 = "",
                luntai_zhuanxiang_C_0_2 = "", luntai_zhuanxiang_C_0_3 = "", luntai_zhuanxiang_C_0_4 = "";
        String luntai_zhuanxiang_C_1 = luntaiHuawenC1.getText().toString().trim();
        String luntai_zhuanxiang_C_2 = luntaiHuawenC2.getText().toString().trim();
        String luntai_zhuanxiang_C_3 = luntaiHuawenC3.getText().toString().trim();
        String luntai_zhuanxiang_C_4 = luntaiHuawenC4.getText().toString().trim();
        luntai_zhuanxiang_C_0_1 = !TextUtils.isEmpty(luntai_zhuanxiang_C_1) ? "C1:" + luntai_zhuanxiang_C_1 + "/" : "";
        luntai_zhuanxiang_C_0_2 = !TextUtils.isEmpty(luntai_zhuanxiang_C_2) ? "C2:" + luntai_zhuanxiang_C_2 + "/" : "";
        luntai_zhuanxiang_C_0_3 = !TextUtils.isEmpty(luntai_zhuanxiang_C_3) ? "C3:" + luntai_zhuanxiang_C_3 + "/" : "";
        luntai_zhuanxiang_C_0_4 = !TextUtils.isEmpty(luntai_zhuanxiang_C_4) ? "C4:" + luntai_zhuanxiang_C_4 + "/" : "";
        luntai_zhuanxiang_C_0 = luntai_zhuanxiang_C_0_1 + luntai_zhuanxiang_C_0_2 +
                luntai_zhuanxiang_C_0_3 + luntai_zhuanxiang_C_0_4;

        String luntai_zhuanxiang_D_0 = "", luntai_zhuanxiang_D_0_1 = "",
                luntai_zhuanxiang_D_0_2 = "", luntai_zhuanxiang_D_0_3 = "", luntai_zhuanxiang_D_0_4 = "";
        String luntai_zhuanxiang_D_1 = luntaiHuawenD1.getText().toString().trim();
        String luntai_zhuanxiang_D_2 = luntaiHuawenD2.getText().toString().trim();
        String luntai_zhuanxiang_D_3 = luntaiHuawenD3.getText().toString().trim();
        String luntai_zhuanxiang_D_4 = luntaiHuawenD4.getText().toString().trim();
        luntai_zhuanxiang_D_0_1 = !TextUtils.isEmpty(luntai_zhuanxiang_D_1) ? "D1:" + luntai_zhuanxiang_D_1 + "/" : "";
        luntai_zhuanxiang_D_0_2 = !TextUtils.isEmpty(luntai_zhuanxiang_D_2) ? "D2:" + luntai_zhuanxiang_D_2 + "/" : "";
        luntai_zhuanxiang_D_0_3 = !TextUtils.isEmpty(luntai_zhuanxiang_D_3) ? "D3:" + luntai_zhuanxiang_D_3 + "/" : "";
        luntai_zhuanxiang_D_0_4 = !TextUtils.isEmpty(luntai_zhuanxiang_D_4) ? "D4:" + luntai_zhuanxiang_D_4 + "/" : "";
        luntai_zhuanxiang_D_0 = luntai_zhuanxiang_D_0_1 + luntai_zhuanxiang_D_0_2 +
                luntai_zhuanxiang_D_0_3 + luntai_zhuanxiang_D_0_4;

        String luntai_zhuanxiang_E_0 = "", luntai_zhuanxiang_E_0_1 = "",
                luntai_zhuanxiang_E_0_2 = "", luntai_zhuanxiang_E_0_3 = "", luntai_zhuanxiang_E_0_4 = "";
        String luntai_zhuanxiang_E_1 = luntaiHuawenE1.getText().toString().trim();
        String luntai_zhuanxiang_E_2 = luntaiHuawenE2.getText().toString().trim();
        String luntai_zhuanxiang_E_3 = luntaiHuawenE3.getText().toString().trim();
        String luntai_zhuanxiang_E_4 = luntaiHuawenE4.getText().toString().trim();
        luntai_zhuanxiang_E_0_1 = !TextUtils.isEmpty(luntai_zhuanxiang_E_1) ? "E1:" + luntai_zhuanxiang_E_1 + "/" : "";
        luntai_zhuanxiang_E_0_2 = !TextUtils.isEmpty(luntai_zhuanxiang_E_2) ? "E2:" + luntai_zhuanxiang_E_2 + "/" : "";
        luntai_zhuanxiang_E_0_3 = !TextUtils.isEmpty(luntai_zhuanxiang_E_3) ? "E3:" + luntai_zhuanxiang_E_3 + "/" : "";
        luntai_zhuanxiang_E_0_4 = !TextUtils.isEmpty(luntai_zhuanxiang_E_4) ? "E4:" + luntai_zhuanxiang_E_4 + "/" : "";
        luntai_zhuanxiang_E_0 = luntai_zhuanxiang_E_0_1 + luntai_zhuanxiang_E_0_2 +
                luntai_zhuanxiang_E_0_3 + luntai_zhuanxiang_E_0_4;

        String luntai_zhuanxiang_F_0 = "", luntai_zhuanxiang_F_0_1 = "",
                luntai_zhuanxiang_F_0_2 = "", luntai_zhuanxiang_F_0_3 = "", luntai_zhuanxiang_F_0_4 = "";
        String luntai_zhuanxiang_F_1 = luntaiHuawenF1.getText().toString().trim();
        String luntai_zhuanxiang_F_2 = luntaiHuawenF2.getText().toString().trim();
        String luntai_zhuanxiang_F_3 = luntaiHuawenF3.getText().toString().trim();
        String luntai_zhuanxiang_F_4 = luntaiHuawenF4.getText().toString().trim();
        luntai_zhuanxiang_F_0_1 = !TextUtils.isEmpty(luntai_zhuanxiang_F_1) ? "F1:" + luntai_zhuanxiang_F_1 + "/" : "";
        luntai_zhuanxiang_F_0_2 = !TextUtils.isEmpty(luntai_zhuanxiang_F_2) ? "F2:" + luntai_zhuanxiang_F_2 + "/" : "";
        luntai_zhuanxiang_F_0_3 = !TextUtils.isEmpty(luntai_zhuanxiang_F_3) ? "F3:" + luntai_zhuanxiang_F_3 + "/" : "";
        luntai_zhuanxiang_F_0_4 = !TextUtils.isEmpty(luntai_zhuanxiang_F_4) ? "F4:" + luntai_zhuanxiang_F_4 + "/" : "";
        luntai_zhuanxiang_F_0 = luntai_zhuanxiang_F_0_1 + luntai_zhuanxiang_F_0_2 +
                luntai_zhuanxiang_F_0_3 + luntai_zhuanxiang_F_0_4;

        UtilsLog.e(" luntai_zhuanxiang_A_0==" + luntai_zhuanxiang_A_0 + "===" +
                " luntai_zhuanxiang_B_0==" + luntai_zhuanxiang_B_0 + "===" +
                " luntai_zhuanxiang_C_0==" + luntai_zhuanxiang_C_0 + "===" +
                " luntai_zhuanxiang_D_0==" + luntai_zhuanxiang_D_0 + "===" +
                " luntai_zhuanxiang_E_0==" + luntai_zhuanxiang_E_0 + "===" +
                " luntai_zhuanxiang_F_0==" + luntai_zhuanxiang_F_0);
        String luntai_qita_A_0 = "", luntai_qita_A_0_1 = "",
                luntai_qita_A_0_2 = "", luntai_qita_A_0_3 = "", luntai_qita_A_0_4 = "";
        String luntai_qita_A_1 = otherLuntaiHuawenA1.getText().toString().trim();
        String luntai_qita_A_2 = otherLuntaiHuawenA2.getText().toString().trim();
        String luntai_qita_A_3 = otherLuntaiHuawenA3.getText().toString().trim();
        String luntai_qita_A_4 = otherLuntaiHuawenA4.getText().toString().trim();
        luntai_qita_A_0_1 = !TextUtils.isEmpty(luntai_qita_A_1) ? "A1:" + luntai_qita_A_1 + "/" : "";
        luntai_qita_A_0_2 = !TextUtils.isEmpty(luntai_qita_A_2) ? "A2:" + luntai_qita_A_2 + "/" : "";
        luntai_qita_A_0_3 = !TextUtils.isEmpty(luntai_qita_A_3) ? "A3:" + luntai_qita_A_3 + "/" : "";
        luntai_qita_A_0_4 = !TextUtils.isEmpty(luntai_qita_A_4) ? "A4:" + luntai_qita_A_4 + "/" : "";
        luntai_qita_A_0 = luntai_qita_A_0_1 + luntai_qita_A_0_2 +
                luntai_qita_A_0_3 + luntai_qita_A_0_4;

        String luntai_qita_B_0 = "", luntai_qita_B_0_1 = "",
                luntai_qita_B_0_2 = "", luntai_qita_B_0_3 = "", luntai_qita_B_0_4 = "";
        String luntai_qita_B_1 = otherLuntaiHuawenB1.getText().toString().trim();
        String luntai_qita_B_2 = otherLuntaiHuawenB2.getText().toString().trim();
        String luntai_qita_B_3 = otherLuntaiHuawenB3.getText().toString().trim();
        String luntai_qita_B_4 = otherLuntaiHuawenB4.getText().toString().trim();
        luntai_qita_B_0_1 = !TextUtils.isEmpty(luntai_qita_B_1) ? "B1:" + luntai_qita_B_1 + "/" : "";
        luntai_qita_B_0_2 = !TextUtils.isEmpty(luntai_qita_B_2) ? "B2:" + luntai_qita_B_2 + "/" : "";
        luntai_qita_B_0_3 = !TextUtils.isEmpty(luntai_qita_B_3) ? "B3:" + luntai_qita_B_3 + "/" : "";
        luntai_qita_B_0_4 = !TextUtils.isEmpty(luntai_qita_B_4) ? "B4:" + luntai_qita_B_4 + "/" : "";
        luntai_qita_B_0 = luntai_qita_B_0_1 + luntai_qita_B_0_2 +
                luntai_qita_B_0_3 + luntai_qita_B_0_4;

        String luntai_qita_C_0 = "", luntai_qita_C_0_1 = "",
                luntai_qita_C_0_2 = "", luntai_qita_C_0_3 = "", luntai_qita_C_0_4 = "";
        String luntai_qita_C_1 = otherLuntaiHuawenC1.getText().toString().trim();
        String luntai_qita_C_2 = otherLuntaiHuawenC2.getText().toString().trim();
        String luntai_qita_C_3 = otherLuntaiHuawenC3.getText().toString().trim();
        String luntai_qita_C_4 = otherLuntaiHuawenC4.getText().toString().trim();
        luntai_qita_C_0_1 = !TextUtils.isEmpty(luntai_qita_C_1) ? "C1:" + luntai_qita_C_1 + "/" : "";
        luntai_qita_C_0_2 = !TextUtils.isEmpty(luntai_qita_C_2) ? "C2:" + luntai_qita_C_2 + "/" : "";
        luntai_qita_C_0_3 = !TextUtils.isEmpty(luntai_qita_C_3) ? "C3:" + luntai_qita_C_3 + "/" : "";
        luntai_qita_C_0_4 = !TextUtils.isEmpty(luntai_qita_C_4) ? "C4:" + luntai_qita_C_4 + "/" : "";
        luntai_qita_C_0 = luntai_qita_C_0_1 + luntai_qita_C_0_2 +
                luntai_qita_C_0_3 + luntai_qita_C_0_4;

        String luntai_qita_D_0 = "", luntai_qita_D_0_1 = "",
                luntai_qita_D_0_2 = "", luntai_qita_D_0_3 = "", luntai_qita_D_0_4 = "";
        String luntai_qita_D_1 = otherLuntaiHuawenD1.getText().toString().trim();
        String luntai_qita_D_2 = otherLuntaiHuawenD2.getText().toString().trim();
        String luntai_qita_D_3 = otherLuntaiHuawenD3.getText().toString().trim();
        String luntai_qita_D_4 = otherLuntaiHuawenD4.getText().toString().trim();
        luntai_qita_D_0_1 = !TextUtils.isEmpty(luntai_qita_D_1) ? "D1:" + luntai_qita_D_1 + "/" : "";
        luntai_qita_D_0_2 = !TextUtils.isEmpty(luntai_qita_D_2) ? "D2:" + luntai_qita_D_2 + "/" : "";
        luntai_qita_D_0_3 = !TextUtils.isEmpty(luntai_qita_D_3) ? "D3:" + luntai_qita_D_3 + "/" : "";
        luntai_qita_D_0_4 = !TextUtils.isEmpty(luntai_qita_D_4) ? "D4:" + luntai_qita_D_4 + "/" : "";
        luntai_qita_D_0 = luntai_qita_D_0_1 + luntai_qita_D_0_2 +
                luntai_qita_D_0_3 + luntai_qita_D_0_4;

        String luntai_qita_E_0 = "", luntai_qita_E_0_1 = "",
                luntai_qita_E_0_2 = "", luntai_qita_E_0_3 = "", luntai_qita_E_0_4 = "";
        String luntai_qita_E_1 = otherLuntaiHuawenE1.getText().toString().trim();
        String luntai_qita_E_2 = otherLuntaiHuawenE2.getText().toString().trim();
        String luntai_qita_E_3 = otherLuntaiHuawenE3.getText().toString().trim();
        String luntai_qita_E_4 = otherLuntaiHuawenE4.getText().toString().trim();
        luntai_qita_E_0_1 = !TextUtils.isEmpty(luntai_qita_E_1) ? "E1:" + luntai_qita_E_1 + "/" : "";
        luntai_qita_E_0_2 = !TextUtils.isEmpty(luntai_qita_E_2) ? "E2:" + luntai_qita_E_2 + "/" : "";
        luntai_qita_E_0_3 = !TextUtils.isEmpty(luntai_qita_E_3) ? "E3:" + luntai_qita_E_3 + "/" : "";
        luntai_qita_E_0_4 = !TextUtils.isEmpty(luntai_qita_E_4) ? "E4:" + luntai_qita_E_4 + "/" : "";
        luntai_qita_E_0 = luntai_qita_E_0_1 + luntai_qita_E_0_2 +
                luntai_qita_E_0_3 + luntai_qita_E_0_4;

        String luntai_qita_F_0 = "", luntai_qita_F_0_1 = "",
                luntai_qita_F_0_2 = "", luntai_qita_F_0_3 = "", luntai_qita_F_0_4 = "";
        String luntai_qita_F_1 = otherLuntaiHuawenF1.getText().toString().trim();
        String luntai_qita_F_2 = otherLuntaiHuawenF2.getText().toString().trim();
        String luntai_qita_F_3 = otherLuntaiHuawenF3.getText().toString().trim();
        String luntai_qita_F_4 = otherLuntaiHuawenF4.getText().toString().trim();
        luntai_qita_F_0_1 = !TextUtils.isEmpty(luntai_qita_F_1) ? "F1:" + luntai_qita_F_1 + "/" : "";
        luntai_qita_F_0_2 = !TextUtils.isEmpty(luntai_qita_F_2) ? "F2:" + luntai_qita_F_2 + "/" : "";
        luntai_qita_F_0_3 = !TextUtils.isEmpty(luntai_qita_F_3) ? "F3:" + luntai_qita_F_3 + "/" : "";
        luntai_qita_F_0_4 = !TextUtils.isEmpty(luntai_qita_F_4) ? "F4:" + luntai_qita_F_4 + "/" : "";
        luntai_qita_F_0 = luntai_qita_F_0_1 + luntai_qita_F_0_2 +
                luntai_qita_F_0_3 + luntai_qita_F_0_4;
        UtilsLog.e(" luntai_qita_A_0==" + luntai_qita_A_0 + "===" +
                " luntai_qita_B_0==" + luntai_qita_B_0 + "===" +
                " luntai_qita_C_0==" + luntai_qita_C_0 + "===" +
                " luntai_qita_D_0==" + luntai_qita_D_0 + "===" +
                " luntai_qita_E_0==" + luntai_qita_E_0 + "===" +
                " luntai_qita_F_0==" + luntai_qita_F_0);


        String luntai_gua_A_0 = "", luntai_gua_A_0_1 = "",
                luntai_gua_A_0_2 = "", luntai_gua_A_0_3 = "", luntai_gua_A_0_4 = "";
        String luntai_gua_A_1 = guaLuntaiHuawenA1.getText().toString().trim();
        String luntai_gua_A_2 = guaLuntaiHuawenA2.getText().toString().trim();
        String luntai_gua_A_3 = guaLuntaiHuawenA3.getText().toString().trim();
        String luntai_gua_A_4 = guaLuntaiHuawenA4.getText().toString().trim();
        luntai_gua_A_0_1 = !TextUtils.isEmpty(luntai_gua_A_1) ? "A1:" + luntai_gua_A_1 + "/" : "";
        luntai_gua_A_0_2 = !TextUtils.isEmpty(luntai_gua_A_2) ? "A2:" + luntai_gua_A_2 + "/" : "";
        luntai_gua_A_0_3 = !TextUtils.isEmpty(luntai_gua_A_3) ? "A3:" + luntai_gua_A_3 + "/" : "";
        luntai_gua_A_0_4 = !TextUtils.isEmpty(luntai_gua_A_4) ? "A4:" + luntai_gua_A_4 + "/" : "";
        luntai_gua_A_0 = luntai_gua_A_0_1 + luntai_gua_A_0_2 +
                luntai_gua_A_0_3 + luntai_gua_A_0_4;

        String luntai_gua_B_0 = "", luntai_gua_B_0_1 = "",
                luntai_gua_B_0_2 = "", luntai_gua_B_0_3 = "", luntai_gua_B_0_4 = "";
        String luntai_gua_B_1 = guaLuntaiHuawenB1.getText().toString().trim();
        String luntai_gua_B_2 = guaLuntaiHuawenB2.getText().toString().trim();
        String luntai_gua_B_3 = guaLuntaiHuawenB3.getText().toString().trim();
        String luntai_gua_B_4 = guaLuntaiHuawenB4.getText().toString().trim();
        luntai_gua_B_0_1 = !TextUtils.isEmpty(luntai_gua_B_1) ? "B1:" + luntai_gua_B_1 + "/" : "";
        luntai_gua_B_0_2 = !TextUtils.isEmpty(luntai_gua_B_2) ? "B2:" + luntai_gua_B_2 + "/" : "";
        luntai_gua_B_0_3 = !TextUtils.isEmpty(luntai_gua_B_3) ? "B3:" + luntai_gua_B_3 + "/" : "";
        luntai_gua_B_0_4 = !TextUtils.isEmpty(luntai_gua_B_4) ? "B4:" + luntai_gua_B_4 + "/" : "";
        luntai_gua_B_0 = luntai_gua_B_0_1 + luntai_gua_B_0_2 +
                luntai_gua_B_0_3 + luntai_gua_B_0_4;

        String luntai_gua_C_0 = "", luntai_gua_C_0_1 = "",
                luntai_gua_C_0_2 = "", luntai_gua_C_0_3 = "", luntai_gua_C_0_4 = "";
        String luntai_gua_C_1 = guaLuntaiHuawenC1.getText().toString().trim();
        String luntai_gua_C_2 = guaLuntaiHuawenC2.getText().toString().trim();
        String luntai_gua_C_3 = guaLuntaiHuawenC3.getText().toString().trim();
        String luntai_gua_C_4 = guaLuntaiHuawenC4.getText().toString().trim();
        luntai_gua_C_0_1 = !TextUtils.isEmpty(luntai_gua_C_1) ? "C1:" + luntai_gua_C_1 + "/" : "";
        luntai_gua_C_0_2 = !TextUtils.isEmpty(luntai_gua_C_2) ? "C2:" + luntai_gua_C_2 + "/" : "";
        luntai_gua_C_0_3 = !TextUtils.isEmpty(luntai_gua_C_3) ? "C3:" + luntai_gua_C_3 + "/" : "";
        luntai_gua_C_0_4 = !TextUtils.isEmpty(luntai_gua_C_4) ? "C4:" + luntai_gua_C_4 + "/" : "";
        luntai_gua_C_0 = luntai_gua_C_0_1 + luntai_gua_C_0_2 +
                luntai_gua_C_0_3 + luntai_gua_C_0_4;

        String luntai_gua_D_0 = "", luntai_gua_D_0_1 = "",
                luntai_gua_D_0_2 = "", luntai_gua_D_0_3 = "", luntai_gua_D_0_4 = "";
        String luntai_gua_D_1 = guaLuntaiHuawenD1.getText().toString().trim();
        String luntai_gua_D_2 = guaLuntaiHuawenD2.getText().toString().trim();
        String luntai_gua_D_3 = guaLuntaiHuawenD3.getText().toString().trim();
        String luntai_gua_D_4 = guaLuntaiHuawenD4.getText().toString().trim();
        luntai_gua_D_0_1 = !TextUtils.isEmpty(luntai_gua_D_1) ? "D1:" + luntai_gua_D_1 + "/" : "";
        luntai_gua_D_0_2 = !TextUtils.isEmpty(luntai_gua_D_2) ? "D2:" + luntai_gua_D_2 + "/" : "";
        luntai_gua_D_0_3 = !TextUtils.isEmpty(luntai_gua_D_3) ? "D3:" + luntai_gua_D_3 + "/" : "";
        luntai_gua_D_0_4 = !TextUtils.isEmpty(luntai_gua_D_4) ? "D4:" + luntai_gua_D_4 + "/" : "";
        luntai_gua_D_0 = luntai_gua_D_0_1 + luntai_gua_D_0_2 +
                luntai_gua_D_0_3 + luntai_gua_D_0_4;

        String luntai_gua_E_0 = "", luntai_gua_E_0_1 = "",
                luntai_gua_E_0_2 = "", luntai_gua_E_0_3 = "", luntai_gua_E_0_4 = "";
        String luntai_gua_E_1 = guaLuntaiHuawenE1.getText().toString().trim();
        String luntai_gua_E_2 = guaLuntaiHuawenE2.getText().toString().trim();
        String luntai_gua_E_3 = guaLuntaiHuawenE3.getText().toString().trim();
        String luntai_gua_E_4 = guaLuntaiHuawenE4.getText().toString().trim();
        luntai_gua_E_0_1 = !TextUtils.isEmpty(luntai_gua_E_1) ? "E1:" + luntai_gua_E_1 + "/" : "";
        luntai_gua_E_0_2 = !TextUtils.isEmpty(luntai_gua_E_2) ? "E2:" + luntai_gua_E_2 + "/" : "";
        luntai_gua_E_0_3 = !TextUtils.isEmpty(luntai_gua_E_3) ? "E3:" + luntai_gua_E_3 + "/" : "";
        luntai_gua_E_0_4 = !TextUtils.isEmpty(luntai_gua_E_4) ? "E4:" + luntai_gua_E_4 + "/" : "";
        luntai_gua_E_0 = luntai_gua_E_0_1 + luntai_gua_E_0_2 +
                luntai_gua_E_0_3 + luntai_gua_E_0_4;

        String luntai_gua_F_0 = "", luntai_gua_F_0_1 = "",
                luntai_gua_F_0_2 = "", luntai_gua_F_0_3 = "", luntai_gua_F_0_4 = "";
        String luntai_gua_F_1 = guaLuntaiHuawenF1.getText().toString().trim();
        String luntai_gua_F_2 = guaLuntaiHuawenF2.getText().toString().trim();
        String luntai_gua_F_3 = guaLuntaiHuawenF3.getText().toString().trim();
        String luntai_gua_F_4 = guaLuntaiHuawenF4.getText().toString().trim();
        luntai_gua_F_0_1 = !TextUtils.isEmpty(luntai_gua_F_1) ? "F1:" + luntai_gua_F_1 + "/" : "";
        luntai_gua_F_0_2 = !TextUtils.isEmpty(luntai_gua_F_2) ? "F2:" + luntai_gua_F_2 + "/" : "";
        luntai_gua_F_0_3 = !TextUtils.isEmpty(luntai_gua_F_3) ? "F3:" + luntai_gua_F_3 + "/" : "";
        luntai_gua_F_0_4 = !TextUtils.isEmpty(luntai_gua_F_4) ? "F4:" + luntai_gua_F_4 + "/" : "";
        luntai_gua_F_0 = luntai_gua_F_0_1 + luntai_gua_F_0_2 +
                luntai_gua_F_0_3 + luntai_gua_F_0_4;
        UtilsLog.e(" luntai_gua_A_0==" + luntai_gua_A_0 + "===" +
                " luntai_gua_B_0==" + luntai_gua_B_0 + "===" +
                " luntai_gua_C_0==" + luntai_gua_C_0 + "===" +
                " luntai_gua_D_0==" + luntai_gua_D_0 + "===" +
                " luntai_gua_E_0==" + luntai_gua_E_0 + "===" +
                " luntai_gua_F_0==" + luntai_gua_F_0);

        String danche_zhuanxianglun_luntai_huawen_shendu = luntai_zhuanxiang_A_0 + luntai_zhuanxiang_B_0 +
                luntai_zhuanxiang_C_0 + luntai_zhuanxiang_D_0 +
                luntai_zhuanxiang_E_0 + luntai_zhuanxiang_F_0;
        String danche_qta_luntai_huawen_shendu = luntai_qita_A_0 + luntai_qita_B_0 +
                luntai_qita_C_0 + luntai_qita_D_0 + luntai_qita_E_0 + luntai_qita_F_0;
        String guache_luntai_huanwen_shendu = luntai_gua_A_0 + luntai_gua_B_0 +
                luntai_gua_C_0 + luntai_gua_D_0 + luntai_gua_E_0 + luntai_gua_F_0;
//                String danche_zhuanxianglun_luntai_huawen_shendu = acWaijianItemDancheZhuanxianglunLuntaiHuawenShendu.getText().toString().trim();
//                String danche_qta_luntai_huawen_shendu = acWaijianItemDancheQitaLuntaiHuawenShendu.getText().toString().trim();
//                String guache_luntai_huanwen_shendu = acWaijianItemGuacheLuntaiHuawenShendu.getText().toString().trim();


        String diyizhou_zuogaodu = acWaijianItemDiyizhouZuogaodu.getText().toString().trim();
        String diyizhou_yougaodu = acWaijianItemDiyizhouYougaodu.getText().toString().trim();
        String diyizhou_zuoyou_gaodu = acWaijianItemDiyizhouZuoyouGaoducha.getText().toString().trim();
        String zuihouzhou_zuo_gaodu = acWaijianItemZuihouzhouZuoGaodu.getText().toString().trim();
        String zuihouzhou_you_gaodu = acWaijianItemZuihouzhouYouGaodu.getText().toString().trim();
        String zuihouzhou_zuoyou_gaodu = acWaijianItemZuihouzhouZuoyouGaoducha.getText().toString().trim();
        String desc = acWaijianItemDesc.getText().toString().trim();
        String gua_che_lanban_gaodu = acWaijianItemGuaChexiangLanbanGaodu.getText().toString().trim();
        String gua_che_zuo_gaodu = acWaijianItemGuaZuoGaoducha.getText().toString().trim();
        String gua_che_you_gaodu = acWaijianItemYouGaoducha.getText().toString().trim();
        String gua_che_gaodu_gaoducha = acWaijianItemGuaGaoduchaGaoducha.getText().toString().trim();

        WaiJianItemModel model = new WaiJianItemModel();
        model.setCar_no(carsInforModel.getPlateRegion() +
                carsInforModel.getPlateNO());
        model.setSN(carsInforModel.getSN());
        model.setRemark(beizhu);
        model.setZhuanxiangzhou(zhuanxiangzhou_shuliang);
        model.setHege_cheshen(hege_cheshen);
        model.setHege_lanban(hege_lanban);
        model.setHege_luntai(hege_luntai);
        model.setShifouQuanshi(shifou_quanshi.equals("") ? "" : shifou_quanshi);
        model.setShifouDianzikongzhi(shifou_dianzikongzhi.equals("") ? "" : shifou_dianzikongzhi);
        model.setKongqiXuanjia(kongqi_xuanjia.equals("") ? "" : kongqi_xuanjia);
        model.setKongqiXuanjiaZhou(kongqi_xuanjia_zhou.equals("") ? "" : kongqi_xuanjia_zhou);
        model.setWaikuoChang(waikuo_chang.equals("") ? "" : waikuo_chang);
        model.setWaikuoKuan(waikuo_kuan.equals("") ? "" : waikuo_kuan);
        model.setWaikuoGao(waikuo_gao.equals("") ? "" : waikuo_gao);
        model.setZhouju(zhouju.equals("") ? "" : zhouju);
        model.setChexiangLanbanGaodu(chexiang_lanban_gaodu.equals("") ? "" : chexiang_lanban_gaodu);

        model.setDancheZhuanxianglunLuntaiHuawenShendu(!TextUtils.isEmpty(danche_zhuanxianglun_luntai_huawen_shendu) ? danche_zhuanxianglun_luntai_huawen_shendu.substring(0, danche_zhuanxianglun_luntai_huawen_shendu.length() - 1) : "");

        model.setDancheQtaLuntaiHuawenShendu(!TextUtils.isEmpty(danche_qta_luntai_huawen_shendu) ? danche_qta_luntai_huawen_shendu.substring(0, danche_qta_luntai_huawen_shendu.length() - 1) : "");

        model.setGuacheLuntaiHuanwenShendu(!TextUtils.isEmpty(guache_luntai_huanwen_shendu) ? guache_luntai_huanwen_shendu.substring(0, guache_luntai_huanwen_shendu.length() - 1) : "");

        model.setDiyizhouZuogaodu(diyizhou_zuogaodu.equals("") ? "" : diyizhou_zuogaodu);
        model.setDiyizhouYougaodu(diyizhou_yougaodu.equals("") ? "" : diyizhou_yougaodu);
        model.setDiyizhouZuoyouGaodu(diyizhou_zuoyou_gaodu.equals("") ? "" : diyizhou_zuoyou_gaodu);
        model.setZuihouzhouZuoGaodu(zuihouzhou_zuo_gaodu.equals("") ? "" : zuihouzhou_zuo_gaodu);
        model.setZuihouzhouYouGaodu(zuihouzhou_you_gaodu.equals("") ? "" : zuihouzhou_you_gaodu);
        model.setZuihouzhouZuoyouGaodu(zuihouzhou_zuoyou_gaodu.equals("") ? "" : zuihouzhou_zuoyou_gaodu);
        model.setDesc(desc.equals("") ? "" : desc);
        model.setF1ResultNote(desc.equals("") ? "" : desc);
        model.setGuaCheLanbanGaodu(gua_che_lanban_gaodu.equals("") ? "" : gua_che_lanban_gaodu);
        model.setGuaCheZuoGaodu(gua_che_zuo_gaodu.equals("") ? "" : gua_che_zuo_gaodu);
        model.setGuaCheYouGaodu(gua_che_you_gaodu.equals("") ? "" : gua_che_you_gaodu);
        model.setGuaCheGaoduGaoducha(gua_che_gaodu_gaoducha.equals("") ? "" : gua_che_gaodu_gaoducha);
        model.save();
        String logStr = "\n" + "外检项目--本地数据库保存---" + "\n" +
                "model::" + model.toString() + "\n";
        PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr.getBytes());
    }

    private String[] line_str = new String[]{"1", "2", "3", "4", "5", "6"};
    //    private String[] line_str = new String[]{"01", "02", "03", "04", "05", "06"};
    private String[] fou_shi_str = new String[]{"否", "是"};

    private void showMyDialog(String[] str, final int id) {
//        BottomMenu bottomMenu= BottomMenu().build(this);
        BottomMenu.show(WaiJianItemActivity.this, str, new OnMenuItemClickListener() {
            @Override
            public void onClick(String text, int index) {
                //返回参数 text 即菜单名称，index 即菜单索引
                UtilsLog.e("外检---showMyDialog==" + text + "===" + index);
                switch (id) {
                    case R.id.ac_waijian_item_line:
                        // 线号
                        acWaijianItemLine.setText(text);
                        break;
                    case R.id.ac_waijian_item_shifou_quanshi:
                        acWaijianItemShifouQuanshi.setText(text);
                        break;
                    case R.id.ac_waijian_item_dianzi_kongzhi:
                        String logStrf = "\n" + "----车辆特征参数---是否电子控制--点击事件---触发" + "\n" +
                                "是否电子控制==" + text + "\n";
                        PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStrf.getBytes());
                        acWaijianItemDianziKongzhi.setText(text);
                        break;
                    case R.id.ac_waijian_item_kongqi_xuanjia:
                        acWaijianItemKongqiXuanjia.setText(text);
                        break;
                    case R.id.ac_waijian_hege_lanban:
                        //合格---栏板
                        acWaijianHegeLanban.setText(text);
                        break;
                    case R.id.ac_waijian_hege_luntai:
                        //合格--轮胎
                        acWaijianHegeLuntai.setText(text);
                        break;
                    case R.id.ac_waijian_hege_cheshen:
                        //合格---车身
                        acWaijianHegeCheshen.setText(text);
                        break;
                }
            }
        }).setMenuTextInfo(new TextInfo().setBold(true).setFontColor(Color.BLACK).setGravity(Gravity.CENTER));
    }

    Uri imageUri;
    int list_photo_index = 0;

    private void showPhotoDialog(List<String> list) {
        BottomMenu.show(this, list, new OnMenuItemClickListener() {
            @Override
            public void onClick(String text, int index) {
                //返回参数 text 即菜单名称，index 即菜单索引
                UtilsLog.e("外检---showMyDialog=22=" + text + "===" + index);
                if (dataType == 1) {
                    PHOTO_TYPE = typeModelList.get(index).getCode();
                } else {
                    PHOTO_TYPE = typeModelListAdapter.get(index).getCode();
                }
                list_photo_index = index;
                Log.e("photo", "takePhoto---takePhoto");
                takePhoto = getTakePhoto();
                TakePhotoOptions takePhotoOptions = new TakePhotoOptions.Builder().setCorrectImage(false).create();
                takePhoto.setTakePhotoOptions(takePhotoOptions);
                File file = new File(Environment.getExternalStorageDirectory(), external_path + "/temp_my_app/" + System
                        .currentTimeMillis() + ".jpg");
                if (!file.getParentFile().exists()) {
                    file.getParentFile().mkdirs();
                }
                imageUri = Uri.fromFile(file);
                UtilsLog.e("photo", "WAIJIAN_PHOTO_imageUri=7777=" + imageUri);
//                img_imageUri_path = imageUri.getPath();
                UtilsLog.e("photo", "WAIJIAN_PHOTO_imageUri=888=" + imageUri.getPath());
                takePhoto.onPickFromCapture(imageUri);
            }
        }).setMenuTextInfo(new TextInfo().setBold(true).setFontColor(Color.BLACK).setGravity(Gravity.CENTER));
    }

    //上传本地后台
    private void uploadData(WaiJainDataModel waiJainDataModel) {
        Gson gson = new Gson();
        String jsonStr = gson.toJson(waiJainDataModel);
        UtilsLog.e("外检项目--上传本地后台数据---jsonStr==" + jsonStr);
        UtilsLog.e("外检项目--上传本地后台数据---url==" + SharedPreferencesUtils.getIP(this) + REPORTED_DATA);
        String logStr = "\n" + "外检项目--上传本地后台数据---json" + "\n" +
                "json::" + jsonStr + "\n" +
                "URL::" + SharedPreferencesUtils.getIP(instances) + REPORTED_DATA;
        PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr.getBytes());
        OkGo.<String>post(SharedPreferencesUtils.getIP(this) + REPORTED_DATA).tag(this)
                .upJson(jsonStr)
                .execute(new StringCallback() {
                    @Override
                    public void onStart(Request<String, ? extends Request> request) {
                        super.onStart(request);
//                        CommonUtils.showLoadingDialog(instances, "加载中...");
                    }

                    @Override
                    public void onSuccess(Response<String> response) {
                        String result = response.body();
                        UtilsLog.e("外检项目--上传本地后台数据--result==" + result);
                        String newResult = result.substring(1, result.length() - 1).replaceAll("\\\\", "");
                        UtilsLog.e("外检项目--上传本地后台数据--newResult==" + newResult);
                        String logStr = "\n" + "外检项目--上传本地后台数据---请求成功" +
                                "\n" + "result::" + result;
                        PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr.getBytes());
                        if ("ok".equalsIgnoreCase(newResult)) {
//                            Handler handler = new Handler();
//                            handler.postDelayed(new Runnable() {
//                                @Override
//                                public void run() {
//                                    updateCarStatusInfor();
//                                }
//                            }, 800);//后执行Runnable中的run方法
                        } else {
                            MessageDialog.show(instances, "提示", "上传本地后台数据失败，请重试", "确定");
                        }
                    }

                    @Override
                    public void onError(Response<String> response) {
                        super.onError(response);
                        UtilsLog.e("外检项目--上传后台数据-onError==" + response.body());
                        String logStr = "\n" + "外检项目--上传本地后台数据--onError-失败" +
                                "\n" + "URL::" + SharedPreferencesUtils.getIP(instances) +
                                REPORTED_DATA + "\n" + "result::" + response.body();
                        PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr.getBytes());
                        CommonUtils.hideLoadingDialog(instances);
                        MessageDialog.show(instances, "提示", "上传本地后台数据网络异常，请重试", "确定");
                    }
                });
    }

    //获取某辆车的外检拍照的项目
    // PlateType,CarType,Usage
    String json_str_getOutPhotoItem;
    private List<TypeModel> typeModelList;
    private List<TypeModel> typeModelListAdapter;
    int dataType = 0;//0:typeModelList 过滤后的数据  1:typeModelListAdapter 没有过滤的数据
    List<String> luntaiPhotos;
    List<Integer> luntaiPhotoStatement;

    private void getOutPhotoItem() {
        OutPhotoItem model = new OutPhotoItem();
        model.setCarType(carsInforModel.getType());
        model.setPlateType(carsInforModel.getPlateType());
        model.setUsage(carsInforModel.getUsage());
        model.setPlatformSN(carsInforModel.getPlatformSN());
        Gson gson = new Gson();
        json_str_getOutPhotoItem = gson.toJson(model);
        UtilsLog.e("车辆特征参数---json_str==" + json_str_getOutPhotoItem);
        UtilsLog.e("车辆特征参数---url==" + SharedPreferencesUtils.getIP(this) + WAI_JIAN_PHOTO_ITEM);
        OkGo.<String>post(SharedPreferencesUtils.getIP(this) + WAI_JIAN_PHOTO_ITEM).tag(this)
                .upJson(json_str_getOutPhotoItem)
                .execute(new StringCallback() {
                    @Override
                    public void onStart(Request<String, ? extends Request> request) {
                        super.onStart(request);
                    }

                    @Override
                    public void onSuccess(Response<String> response) {
                        String result = response.body();
                        BaseApplication.msg = result;
//                        UtilsLog.e("getOutPhotoItem-result==" + result);
                        CommonUtils.hideLoadingDialog(instances);
                        String newResult = result.substring(1, result.length() - 1).replaceAll("\\\\", "");
                        UtilsLog.e("车辆特征参数-newResult==" + newResult);
                        String logStr = "\n" + "车辆特征参数--获取某辆车的外检拍照的项目--请求成功" +
                                "\n" + "URL::" + SharedPreferencesUtils.getIP(instances) +
                                WAI_JIAN_PHOTO_ITEM + "\n" + "JSON::" + json_str_getOutPhotoItem
                                + "\n" + newResult;
                        PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr.getBytes());
                        if (!TextUtils.isEmpty(newResult) && !"[[]]".equals(newResult) && !"[{}]".equals
                                (newResult) && !"[]".equals(result)) {
                            typeModelList = JsonUtil.stringToArray(newResult,
                                    TypeModel[].class);
                            typeModelListAdapter = new ArrayList<TypeModel>();
                            if (typeModelList != null && typeModelList.size() > 0) {
//                                typeModelListAdapter = typeModelList;
                                TypeModel typeModel = null;
                                for (int i = 0; i < typeModelList.size(); i++) {
                                    typeModel = new TypeModel();
                                    if (!TextUtils.isEmpty(typeModelList.get(i).getName())) {
                                        if (typeModelList.get(i).getName().contains("轮胎规格型号")) {
                                            typeModel.setName(typeModelList.get(i).getName());
                                            typeModel.setCode(typeModelList.get(i).getCode());
                                            typeModelListAdapter.add(typeModel);
                                        }
                                    } else {
                                        typeModel.setName(typeModelList.get(i).getCode());
                                        typeModel.setCode(typeModelList.get(i).getCode());
                                        typeModelListAdapter.add(typeModel);
                                    }
                                }

//                                typeModelList.stream().filter(p ->
//                                        p.getName().contains("轮胎规格型号")==true
//
//                                );

                                String logStr233 = "\n" + "车辆特征参数--获取某辆车的外检拍照的项目--typeModelList过滤后的数据----" +
                                        "\n" + "typeModelList::" + typeModelList.toString() + "\n";
                                PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr233.getBytes());

                                luntaiPhotos = new ArrayList<String>();
                                luntaiPhotoStatement = new ArrayList<Integer>();
                                if (typeModelListAdapter != null && typeModelListAdapter.size() > 0) {
                                    dataType = 0;
                                    for (int i = 0; i < typeModelListAdapter.size(); i++) {
                                        luntaiPhotos.add(typeModelListAdapter.get(i).getName());
                                        luntaiPhotoStatement.add(0);
                                    }
                                } else {
                                    dataType = 1;
                                    for (int i = 0; i < typeModelList.size(); i++) {
                                        luntaiPhotos.add(typeModelList.get(i).getName());
                                        luntaiPhotoStatement.add(0);
                                    }
                                    UtilsLog.e("车辆特征参数-过滤后的数据-====null====");
                                }
                            }
                        } else {
                            String logStr2 = "\n" + "车辆特征参数--获取某辆车的外检拍照的项目--失败" +
                                    "\n" + "result::" + result;
                            PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr2.getBytes());
                            BaseApplication.msg = result;
                        }
                    }

                    @Override
                    public void onError(Response<String> response) {
                        super.onError(response);
                        BaseApplication.msg = response.body() + "==" + response.message();
                        UtilsLog.e("车辆特征参数-onError==" + response.body());
                        String logStr = "\n" + "车辆特征参数--获取某辆车的外检拍照的项目-onError-失败" +
                                "\n" + "URL::" + SharedPreferencesUtils.getIP(instances) +
                                WAI_JIAN_PHOTO_ITEM + "\n" + "result::" + response.body();
                        PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr.getBytes());
                        CommonUtils.hideLoadingDialog(instances);
                    }
                });
    }

    void initJsonDataToPlateform() {
        waiJainDataModel.setDetection_ID(String.valueOf(carsInforModel.getID()));
        waiJainDataModel.setGUID(carsInforModel.getGUID());
        waiJainDataModel.setDetectionDevID(SharedPreferencesUtils.getIMEI(instances));
        waiJainDataModel.setBrakeForce(carsInforModel.getBrakeForce());
        waiJainDataModel.setPlateNO(carsInforModel.getPlateRegion() + carsInforModel.getPlateNO());
        waiJainDataModel.setAirAdmission(carsInforModel.getAirAdmission());
        try {
            String name = URLDecoder.decode(Login_name, "UTF-8");
            waiJainDataModel.setAppearanceInspector(name);//检测员名字，汉字
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
        waiJainDataModel.setAppearanceNo(login_IDNumber);
        waiJainDataModel.setApprovedLoad(carsInforModel.getApprovedLoad());
        waiJainDataModel.setArea(carsInforModel.getArea());
        waiJainDataModel.setBodyColor(carsInforModel.getBodyColor());
        waiJainDataModel.setBrand(carsInforModel.getBrand());
        waiJainDataModel.setCarBodyType(carsInforModel.getCarBodyType());
        waiJainDataModel.setCarID(carsInforModel.getCarID());
        waiJainDataModel.setCarModel(carsInforModel.getCarModel());
        waiJainDataModel.setCarTypeLevel(carsInforModel.getCarTypeLevel());
        waiJainDataModel.setCategory(carsInforModel.getCategory());
        waiJainDataModel.setCentralAxle(carsInforModel.getCentralAxle());
        waiJainDataModel.setCode(carsInforModel.getCode());
        waiJainDataModel.setCombCarNO(carsInforModel.getCombCarNO());
        waiJainDataModel.setCurbWeight(carsInforModel.getCurbWeight());
        waiJainDataModel.setDetectDate(carsInforModel.getDetectDate());
        waiJainDataModel.setDetectionCategory(carsInforModel.getDetectionCategory());
        waiJainDataModel.setDetectionStatus(carsInforModel.getDetectionStatus());
        waiJainDataModel.setDisplacement(carsInforModel.getDisplacement());
        waiJainDataModel.setDriveAxle(carsInforModel.getDriveAxle());
        waiJainDataModel.setDriverAxleWeight(carsInforModel.getDriverAxleWeight());
        waiJainDataModel.setDriverTypeName(carsInforModel.getDriverTypeName());
        waiJainDataModel.setDriverType(carsInforModel.getDriverType());
        waiJainDataModel.setPlateType(carsInforModel.getPlateType());
        waiJainDataModel.setItemcode(Item_Code);
        waiJainDataModel.setLine(Line);
        waiJainDataModel.setMainAxis(carsInforModel.getMainAxis());
        waiJainDataModel.setParkingAxle(carsInforModel.getParkingAxle());
        waiJainDataModel.setEngineNO(carsInforModel.getEngineNO());
        waiJainDataModel.setFuelType(carsInforModel.getFuelType());
        waiJainDataModel.setPlateTypeName(carsInforModel.getPlateTypeName());
        waiJainDataModel.setPlatformSN(carsInforModel.getPlatformSN());
        waiJainDataModel.setQueueID(carsInforModel.getQueueID());
        waiJainDataModel.setSN(carsInforModel.getSN());
        waiJainDataModel.setStatus(carsInforModel.getStatus());
        waiJainDataModel.setTest_times(carsInforModel.getTimes());
        waiJainDataModel.setTimes(carsInforModel.getTimes());
        waiJainDataModel.setType(carsInforModel.getType());
        waiJainDataModel.setVIN(carsInforModel.getVIN());
        waiJainDataModel.setDataType(Item_Code);
        waiJainDataModel.setOwner(carsInforModel.getOwner());
        waiJainDataModel.setTelephone(carsInforModel.getTelephone());
        waiJainDataModel.setAddress(carsInforModel.getAddress());
        uploadData(waiJainDataModel);
    }

    @OnTextChanged(value = {
            R.id.ac_waijian_item_diyizhou_zuogaodu,//第一轴左高度
//            R.id.ac_waijian_item_diyizhou_yougaodu,//第一轴右高度
//            R.id.ac_waijian_item_zuihouzhou_zuo_gaodu,//最后轴左高度
//            R.id.ac_waijian_item_zuihouzhou_you_gaodu,//最后轴右高度
//            R.id.ac_waijian_item_gua_zuo_gaoducha,//挂车车身对称部位高度(左）
//            R.id.ac_waijian_item_you_gaoducha,//挂车车身对称部位高度(右）
    }, callback = OnTextChanged.Callback.AFTER_TEXT_CHANGED)
    void afterTextChanged1(Editable s) {
        //   <=20  一级   >20  二级
        UtilsLog.e("第一轴左高度=========" + s);
        String str1 = acWaijianItemDiyizhouZuogaodu.getText().toString().trim();
        String str2 = acWaijianItemDiyizhouYougaodu.getText().toString().trim();
        str1 = TextUtils.isEmpty(str1) ? "0" : str1;
        str2 = TextUtils.isEmpty(str2) ? "0" : str2;
        int leftHeight_1 = 0, rightHeight_1 = 0;
        rightHeight_1 = TextUtils.isDigitsOnly(str2) ? Integer.parseInt(str2) : 0;
        if (TextUtils.isDigitsOnly(str1)) {
            leftHeight_1 = Integer.parseInt(str1);
            acWaijianItemDiyizhouZuoyouGaoducha.setText(String.valueOf(Math.abs(leftHeight_1 - rightHeight_1)));
        } else {
            Toast.makeText(this, "请输入正确的数值", Toast.LENGTH_LONG).show();
        }
    }

    @OnTextChanged(value = {
//            R.id.ac_waijian_item_diyizhou_zuogaodu,//第一轴左高度
            R.id.ac_waijian_item_diyizhou_yougaodu,//第一轴右高度
//            R.id.ac_waijian_item_zuihouzhou_zuo_gaodu,//最后轴左高度
//            R.id.ac_waijian_item_zuihouzhou_you_gaodu,//最后轴右高度
//            R.id.ac_waijian_item_gua_zuo_gaoducha,//挂车车身对称部位高度(左）
//            R.id.ac_waijian_item_you_gaoducha,//挂车车身对称部位高度(右）

    }, callback = OnTextChanged.Callback.AFTER_TEXT_CHANGED)
    void afterTextChanged3(Editable s) {
        UtilsLog.e("第一轴右高度=========" + s);
        String str1 = acWaijianItemDiyizhouZuogaodu.getText().toString().trim();
        String str2 = acWaijianItemDiyizhouYougaodu.getText().toString().trim();
        str1 = TextUtils.isEmpty(str1) ? "0" : str1;
        str2 = TextUtils.isEmpty(str2) ? "0" : str2;
        int leftHeight_1 = 0, rightHeight_1 = 0;
        leftHeight_1 = TextUtils.isDigitsOnly(str1) ? Integer.parseInt(str1) : 0;
        if (TextUtils.isDigitsOnly(str2)) {
            rightHeight_1 = Integer.parseInt(str2);
            acWaijianItemDiyizhouZuoyouGaoducha.setText(String.valueOf(Math.abs(leftHeight_1 - rightHeight_1)));
        } else {
            Toast.makeText(this, "请输入正确的数值", Toast.LENGTH_LONG).show();
        }
    }

    @OnTextChanged(value = {
//            R.id.ac_waijian_item_diyizhou_zuogaodu,//第一轴左高度
//            R.id.ac_waijian_item_diyizhou_yougaodu,//第一轴右高度
            R.id.ac_waijian_item_zuihouzhou_zuo_gaodu,//最后轴左高度
//            R.id.ac_waijian_item_zuihouzhou_you_gaodu,//最后轴右高度
//            R.id.ac_waijian_item_gua_zuo_gaoducha,//挂车车身对称部位高度(左）
//            R.id.ac_waijian_item_you_gaoducha,//挂车车身对称部位高度(右）

    }, callback = OnTextChanged.Callback.AFTER_TEXT_CHANGED)
    void afterTextChanged4(Editable s) {
        UtilsLog.e("最后轴左高度=========" + s);
        String str1 = acWaijianItemZuihouzhouZuoGaodu.getText().toString().trim();
        String str2 = acWaijianItemZuihouzhouYouGaodu.getText().toString().trim();
        str1 = TextUtils.isEmpty(str1) ? "0" : str1;
        str2 = TextUtils.isEmpty(str2) ? "0" : str2;
        int leftHeight = 0, rightHeight = 0;
        rightHeight = TextUtils.isDigitsOnly(str2) ? Integer.parseInt(str2) : 0;
        if (TextUtils.isDigitsOnly(str1)) {
            leftHeight = Integer.parseInt(str1);
            acWaijianItemZuihouzhouZuoyouGaoducha.setText(String.valueOf(Math.abs(leftHeight - rightHeight)));
        } else {
            Toast.makeText(this, "请输入正确的数值", Toast.LENGTH_LONG).show();
        }
    }

    @OnTextChanged(value = {
//            R.id.ac_waijian_item_diyizhou_zuogaodu,//第一轴左高度
//            R.id.ac_waijian_item_diyizhou_yougaodu,//第一轴右高度
//            R.id.ac_waijian_item_zuihouzhou_zuo_gaodu,//最后轴左高度
            R.id.ac_waijian_item_zuihouzhou_you_gaodu,//最后轴右高度
//            R.id.ac_waijian_item_gua_zuo_gaoducha,//挂车车身对称部位高度(左）
//            R.id.ac_waijian_item_you_gaoducha,//挂车车身对称部位高度(右）

    }, callback = OnTextChanged.Callback.AFTER_TEXT_CHANGED)
    void afterTextChanged5(Editable s) {
        UtilsLog.e("最后轴右高度=========" + s);
        String str2 = acWaijianItemZuihouzhouZuoGaodu.getText().toString().trim();
        String str1 = acWaijianItemZuihouzhouYouGaodu.getText().toString().trim();
        str1 = TextUtils.isEmpty(str1) ? "0" : str1;
        str2 = TextUtils.isEmpty(str2) ? "0" : str2;
        int leftHeight = 0, rightHeight = 0;
        rightHeight = TextUtils.isDigitsOnly(str2) ? Integer.parseInt(str2) : 0;
        if (TextUtils.isDigitsOnly(str1)) {
            leftHeight = Integer.parseInt(str1);
            acWaijianItemZuihouzhouZuoyouGaoducha.setText(String.valueOf(Math.abs(leftHeight - rightHeight)));
        } else {
            Toast.makeText(this, "请输入正确的数值", Toast.LENGTH_LONG).show();
        }
    }

    @OnTextChanged(value = {
//            R.id.ac_waijian_item_diyizhou_zuogaodu,//第一轴左高度
//            R.id.ac_waijian_item_diyizhou_yougaodu,//第一轴右高度
//            R.id.ac_waijian_item_zuihouzhou_zuo_gaodu,//最后轴左高度
//            R.id.ac_waijian_item_zuihouzhou_you_gaodu,//最后轴右高度
            R.id.ac_waijian_item_gua_zuo_gaoducha,//挂车车身对称部位高度(左）
//            R.id.ac_waijian_item_you_gaoducha,//挂车车身对称部位高度(右）

    }, callback = OnTextChanged.Callback.AFTER_TEXT_CHANGED)
    void afterTextChanged6(Editable s) {
        UtilsLog.e("挂车车身对称部位高度(左）=========" + s);
        String str1 = acWaijianItemGuaZuoGaoducha.getText().toString().trim();
        String str2 = acWaijianItemYouGaoducha.getText().toString().trim();
        str1 = TextUtils.isEmpty(str1) ? "0" : str1;
        str2 = TextUtils.isEmpty(str2) ? "0" : str2;
        int leftHeight = 0, rightHeight = 0;
        rightHeight = TextUtils.isDigitsOnly(str2) ? Integer.parseInt(str2) : 0;
        if (TextUtils.isDigitsOnly(str1)) {
            leftHeight = Integer.parseInt(str1);
            acWaijianItemGuaGaoduchaGaoducha.setText(String.valueOf(Math.abs(leftHeight - rightHeight)));
        } else {
            Toast.makeText(this, "请输入正确的数值", Toast.LENGTH_LONG).show();
        }
    }

    @OnTextChanged(value = {
//            R.id.ac_waijian_item_diyizhou_zuogaodu,//第一轴左高度
//            R.id.ac_waijian_item_diyizhou_yougaodu,//第一轴右高度
//            R.id.ac_waijian_item_zuihouzhou_zuo_gaodu,//最后轴左高度
//            R.id.ac_waijian_item_zuihouzhou_you_gaodu,//最后轴右高度
//            R.id.ac_waijian_item_gua_zuo_gaoducha,//挂车车身对称部位高度(左）
            R.id.ac_waijian_item_you_gaoducha,//挂车车身对称部位高度(右）

    }, callback = OnTextChanged.Callback.AFTER_TEXT_CHANGED)
    void afterTextChanged7(Editable s) {
        UtilsLog.e("挂车车身对称部位高度(右）=========" + s);
        String str2 = acWaijianItemGuaZuoGaoducha.getText().toString().trim();
        String str1 = acWaijianItemYouGaoducha.getText().toString().trim();
        str1 = TextUtils.isEmpty(str1) ? "0" : str1;
        str2 = TextUtils.isEmpty(str2) ? "0" : str2;
        int leftHeight = 0, rightHeight = 0;
        rightHeight = TextUtils.isDigitsOnly(str2) ? Integer.parseInt(str2) : 0;
        if (TextUtils.isDigitsOnly(str1)) {
            leftHeight = Integer.parseInt(str1);
            acWaijianItemGuaGaoduchaGaoducha.setText(String.valueOf(Math.abs(leftHeight - rightHeight)));
        } else {
            Toast.makeText(this, "请输入正确的数值", Toast.LENGTH_LONG).show();
        }
    }

    String photo_file_path_OriginalPath;

    /**
     * 获取TakePhoto实例
     *
     * @return
     */
    public TakePhoto getTakePhoto() {
        Log.e("tag", "33333");
        if (takePhoto == null) {
            takePhoto = (TakePhoto) TakePhotoInvocationHandler.of(this).bind(new TakePhotoImpl(this, this));
        }
        return takePhoto;
    }

    @Override
    public void takeSuccess(TResult result) {
        Log.e("tag", "111111111111");
        if (result != null) {
            ArrayList<TImage> images = result.getImages();
            if (images != null && images.size() > 0) {
                //压缩后的图片路径，不压缩为null
                Log.e("photo", "拍照成功--path=111=" + images.get(0).getOriginalPath());
                Log.e("photo", "拍照成功--path=Environment=" + Environment.getExternalStorageDirectory());
                //拍照
                if (SystemUtil.getSystemModel().contains("GIONEE") || SystemUtil.getSystemModel().contains("gionee")) {
                    //金立手机的路线
                    photo_file_path_OriginalPath = Environment.getExternalStorageDirectory() + images.get(0)
                            .getOriginalPath().replace("my_images/", "").replace(external_path2, "");
                    Log.e("photo", "拍照成功-金立手机-path=22=" + photo_file_path_OriginalPath);
                } else {
                    //其他手机
                    /***
                     * @question 拍照返回的照片的路径处理
                     * @method 有的手机返回的照片带有/storage/emulated/0，
                     * @method 有的不带，所以需要分别处理
                     * @import 找个地方划重点，考试要考的，TDM CD
                     */
                    if (images.get(0).getOriginalPath().contains("storage/emulated")) {
                        photo_file_path_OriginalPath = images.get(0).getOriginalPath().replace("my_images/", "").replace(external_path2, "");
                    } else {
                        photo_file_path_OriginalPath = Environment.getExternalStorageDirectory() + images.get(0)
                                .getOriginalPath().replace("my_images/", "").replace(external_path2, "");
                    }
//                    photo_file_path_OriginalPath = Environment.getExternalStorageDirectory() + images.get(0)
//                            .getOriginalPath().replace("my_images/", "");
                    Log.e("photo", "拍照成功--path=22=" + photo_file_path_OriginalPath);
                }

                if (!TextUtils.isEmpty(photo_file_path_OriginalPath)) {
                    //拍照不需要编辑的
                    if (isYasuoPhoto.equals("是")) {
                        Luban.with(instances)
                                .load(new File(photo_file_path_OriginalPath))                     //传人要压缩的图片
                                .setCompressListener(new OnCompressListener() { //设置回调
                                    @Override
                                    public void onStart() {
                                        // TODO 压缩开始前调用，可以在方法内启动 loading UI
                                    }

                                    @Override
                                    public void onSuccess(File file) {
                                        // TODO 压缩成功后调用，返回压缩后的图片文件
                                        Log.e("photo", "压缩成功后调用");
                                        //拍照压缩后上传
//                                    getData(file,picFileFullName);
                                        getDataUploadPhoto(file, photo_file_path_OriginalPath);
                                    }

                                    @Override
                                    public void onError(Throwable e) {
                                        // TODO 当压缩过程出现问题时调用
                                        Toast.makeText(instances, "图片压缩出现问题，请重试", Toast.LENGTH_LONG).show();
                                    }
                                }).launch();    //启动压缩
                    } else {
                        getDataUploadPhoto(new File(photo_file_path_OriginalPath), photo_file_path_OriginalPath);
                    }

                }
//                }
            }
        }
    }

    @Override
    public void takeFail(TResult result, String msg) {
        Log.e("tag", "4444444");
        Log.e("photo", "拍照失败takeFail==" + msg);
        String logStr = "\n" + "外检项目拍照----拍照失败==" + "\n" + msg;
        PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr.getBytes());
        ArrayList<TImage> images = result.getImages();
        if (images != null && images.size() > 0) {
            String photo_file_path = images.get(0).getCompressPath();
            String photo_file_path2 = images.get(0).getOriginalPath();
            Log.e("photo", "拍照失败--path==" + photo_file_path);
            Log.e("photo", "拍照失败--path=22=" + photo_file_path2);
        }
    }

    @Override
    public void takeCancel() {
        Log.e("tag", "222222");
        Log.e("photo", "拍照takeCancel==");
    }

    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        getTakePhoto().onActivityResult(requestCode, resultCode, data);
        super.onActivityResult(requestCode, resultCode, data);
        Log.e("tag", "55555==requestCode==" + requestCode + "===resultCode===" + resultCode);
        if (data != null) {
            Log.e("tag", "666666");

        } else {
            Log.e("tag", "data=====null===");
        }
    }

    //上传照片
    private void getDataUploadPhoto(final File file, final String file_name) {
        Log.e("photo", "6666666");
        UtilsLog.e("getDataUploadPhoto---url==" + SharedPreferencesUtils.getFileIP(instances) + UPLOAD_PHOTO);
        String str = "QueueID:" + carsInforModel.getQueueID() + "\n" +
                "GUID:" + carsInforModel.getGUID() + "\n" +
                "Times:" + carsInforModel.getTimes() + "\n" +
                "PlatformSN:" + carsInforModel.getPlatformSN() + "\n" +
                "SN:" + carsInforModel.getSN() + "\n" +
                "PhotoDate:" + DateUtil.currentTime2() + "\n" +
                "PhotoType:" + PHOTO_TYPE + "\n" +
                "Type:" + carsInforModel.getType() + "\n" +
                "CarNO:" + carsInforModel.getPlateRegion() +
                carsInforModel.getPlateNO() + "\n" +
                "PlateType:" + carsInforModel.getPlateType() + "\n" +
                "ItemCode:" + "F1" + "\n" +
                "Line:" + waijian_chedao + "\n" +
                "VIN:" + carsInforModel.getVIN() + "\n" +
                "AppearanceInspector:" + Login_name + "\n" +
                "FileType:" + "jpg" + "\n";
        UtilsLog.e("安检getDataUploadPhoto---json==" + str);
        String logStr = "\n" + "安检---外检上传照片---json==" +
                "\n" + "json::" + str + "\n";
        PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr.getBytes());
        OkGo.<String>post(SharedPreferencesUtils.getFileIP(instances) + UPLOAD_PHOTO).tag(instances)
                .params("AppearanceInspector", Login_name)
                //guid
                .params("QueueID", carsInforModel.getQueueID())
                //guid
                .params("GUID", carsInforModel.getGUID())
                //次数
                .params("Times", carsInforModel.getTimes())
                //PlatformSN
                .params("PlatformSN", carsInforModel.getPlatformSN())
                //SN
                .params("SN", carsInforModel.getSN())
                //拍摄时间
                .params("PhotoDate", DateUtil.currentTime2())
                //照片类型-拍的哪里的照片，位置
//                .params("PhotoType", getPlatformCode(PHOTO_TYPE))
                .params("PhotoType", PHOTO_TYPE)

                //车辆类型
                .params("Type", carsInforModel.getType())
                //车牌号码，两个拼起来的
                .params("CarNO", carsInforModel.getPlateRegion() +
                        carsInforModel.getPlateNO())
                //号牌类型
                .params("PlateType", carsInforModel.getPlateType())
                //拍照code F1表示外检
                .params("ItemCode", "F1")
                //外检车道，检测线代号
                .params("Line", waijian_chedao)
                //车辆识别代码
                .params("VIN", carsInforModel.getVIN())
                .params("FileType", "jpg")
//                .params("FileType", FileUtils.getExtensionName(file.getName()))
                //照片
                .params("zp", file)
                .execute(new StringCallback() {
                    @Override
                    public void onStart(Request<String, ? extends Request> request) {
                        super.onStart(request);
                        CommonUtils.showLoadingDialog(instances, "加载中...");
                    }

                    @Override
                    public void onSuccess(Response<String> response) {
                        String result = response.body();
                        UtilsLog.e("getDataUploadPhoto-result==" + result);
                        String logStr = "\n" + "外检上传照片--请求成功" +
                                "\n" + "URL::" + SharedPreferencesUtils.getFileIP(instances) +
                                UPLOAD_PHOTO + "\n" + "result:" + response.body();
                        PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr.getBytes());
                        WAIJIAN_PHOTO_PREVIEW_LISTS.put(PHOTO_TYPE, file);
                        if (!TextUtils.isEmpty(result) && !"[[]]".equals(result) && !"[{}]".equals(result)
                                && !"[]".equals(result)) {
                            String newResult = result.substring(1, result.length() - 1).replaceAll("\\\\",
                                    "");
                            UtilsLog.e("getDataUploadPhoto-newResult==" + newResult);
                            if ("ok".equalsIgnoreCase(newResult)) {
                                Toast.makeText(instances, "上传成功", Toast.LENGTH_LONG).show();

//                                if (luntaiPhotos.get(list_photo_index).contains("已拍照")) {
//
//                                } else {
//                                    String name=luntaiPhotos.get(list_photo_index);
//                                    String msg="(已拍照)";
//                                    SpannableString spannableString=new SpannableString(name+msg);
//                                    ForegroundColorSpan foregroundColorSpan=new ForegroundColorSpan(Color.GREEN);
//                                    spannableString.setSpan(foregroundColorSpan,0,msg.length()-1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
//                                    luntaiPhotos.set(list_photo_index, spannableString );
//                                }
//
//                                typeModel.setColor(1);
//                                typeModelListAdapter.set(TypeModel_Position, typeModel);
//                                contentAdapter2.notifyDataSetChanged();
                            } else {
                                String logStr2 = "\n" + "外检上传照片--失败" +
                                        "\n" + "URL::" + SharedPreferencesUtils.getFileIP(instances) +
                                        UPLOAD_PHOTO + "\n" + "result:" + response.body();
                                PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr2.getBytes());
                                Toast.makeText(instances, "上传失败，请重新拍照", Toast.LENGTH_LONG).show();
                            }
                        } else {
                            String logStr3 = "\n" + "外检上传照片--失败" +
                                    "\n" + "data::" + "没有数据" + "\n" + "result:" + response.body();
                            PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr3.getBytes());
                            UtilsLog.e("getDataUploadPhoto-result==" + "没有数据");
                        }
                        CommonUtils.hideLoadingDialog(instances);
                    }

                    @Override
                    public void onError(Response<String> response) {
                        super.onError(response);
                        UtilsLog.e("getDataUploadPhoto-onError==" + response.body());
                        UtilsLog.e("getDataUploadPhoto-onError==" + response.getException());
                        String logStr = "\n" + "外检上传照片-onError-失败" +
                                "\n" + "URL::" + SharedPreferencesUtils.getFileIP(instances) +
                                UPLOAD_PHOTO + "\n" + "result:" + response.body() + "\n" +
                                response.getException() + "\n" + response.message();
                        PDALogUtils.createLogFile(BaseApplication.JIANCE_MODE, logStr.getBytes());
                        CommonUtils.hideLoadingDialog(instances);

                        Toast.makeText(instances, "上传照片失败，请重试", Toast.LENGTH_LONG).show();
                    }
                });
    }

    @Override
    public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
        super.onRequestPermissionsResult(requestCode, permissions, grantResults);
        //以下代码为处理Android6.0、7.0动态权限所需
//        EasyPermissions.onRequestPermissionsResult(requestCode, permissions, grantResults, this);
//        Log.e("tag", "onRequestPermissionsResult:" + "== requestCode:" + requestCode +
//                "===permissions==" + permissions.length +
//                "===grantResults==" + grantResults.length);
        PermissionManager.TPermissionType type = PermissionManager.onRequestPermissionsResult(requestCode, permissions, grantResults);
        PermissionManager.handlePermissionsResult(this, type, invokeParam, this);
    }

    InvokeParam invokeParam;

    @Override
    public PermissionManager.TPermissionType invoke(InvokeParam invokeParam) {
        PermissionManager.TPermissionType type = PermissionManager.checkPermission(TContextWrap.of(this), invokeParam.getMethod());
        if (PermissionManager.TPermissionType.WAIT.equals(type)) {
            this.invokeParam = invokeParam;
        }
        return type;
    }

//    @Override
//    public void onPermissionsGranted(int requestCode, List<String> perms) {
//        UtilsLog.e("外检----请求拍照权限成功===");
//    }
//
//    @Override
//    public void onPermissionsDenied(int requestCode, List<String> perms) {
//        UtilsLog.e("外检----请求拍照权限失败===");
//    }

//    @Override
//    public void takeSuccess(TResult result) {
//        Log.e("tag", "takeSuccess============");
//    }
//
//    @Override
//    public void takeFail(TResult result, String msg) {
//        Log.e("tag", "takeFail==========msg=="+msg);
//    }
//
//    @Override
//    public void takeCancel() {
//        Log.e("tag", "takeCancel============");
//    }

}
